A pluggable permission handler.
Implement this with permission_handler or another plugin and assign it
to PermissionUtils.handler once at app startup:
PermissionUtils.handler = MyPermissionHandler();
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
-
openSettings(
) → Future< bool> - Opens the system settings for the app.
-
request(
PermissionKind kind) → Future< PermissionStatus> -
Requests
kindand returns its current status. -
status(
PermissionKind kind) → Future< PermissionStatus> -
Returns the current status of
kindwithout requesting. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited