PermissionsRequestResult class
A class that represents the result of permissions request.
Constructors
-
PermissionsRequestResult({required List<
PermissionData> grantedPermissions, required List<PermissionData> deferredPermissions, required List<PermissionData> deniedPermissions}) -
Constructs an instance of PermissionsRequestResult.
const
Properties
-
deferredPermissions
→ List<
PermissionData> -
List of deferred permissions.
final
-
deniedPermissions
→ List<
PermissionData> -
List of denied permissions.
final
-
grantedPermissions
→ List<
PermissionData> -
List of granted permissions.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDenied → bool
-
Whether any of the permissions are denied.
no setter
- isGranted → bool
-
Whether the required permissions are granted.
no setter
-
permissions
→ List<
PermissionData> -
List of all requested permissions.
no setter
- 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