PermissionHandler class abstract interface

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 kind and returns its current status.
status(PermissionKind kind) → Future<PermissionStatus>
Returns the current status of kind without requesting.
toString() → String
A string representation of this object.
inherited

Operators

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