PermissionUtils class abstract final

Permission helpers delegating to an injected PermissionHandler.

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

handler ↔ PermissionHandler
The active handler. Defaults to a no-op that reports PermissionStatus.notImplemented.
getter/setter pair

Static Methods

openSettings() → Future<bool>
Opens the system settings for the app.
request(PermissionKind kind) → Future<PermissionStatus>
Requests kind via handler.
status(PermissionKind kind) → Future<PermissionStatus>
Returns the current status of kind without requesting.