A standardized service for requesting and checking device permissions.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
Static Properties
-
customHandler
↔ Future<
AppPermissionStatus> Function(AppPermission permission)? -
Pluggable permission handler callback.
getter/setter pair
Static Methods
-
isGranted(
AppPermission permission) → Future< bool> -
Checks if
permissionis currently granted. -
request(
AppPermission permission) → Future< AppPermissionStatus> -
Requests the given
permission. -
requestAll(
List< AppPermission> permissions) → Future<Map< AppPermission, AppPermissionStatus> > - Requests multiple permissions at once.