PermissionData class

A data model that defines permission request information.

Constructors

PermissionData({required PermissionType permissionType, String? permissionName, String? description, bool isNecessary = false})
Constructs an instance of PermissionData.
const

Properties

description String?
The description of permission to request.
final
hashCode int
The hash code for this object.
no setterinherited
isNecessary bool
Whether the permission should be granted as required.
final
permissionName String?
The permission name that will be displayed on the screen.
final
permissionType PermissionType
The type of permission to request.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited