PermissionsApi class
Permissions management API.
Handles checking and requesting contact-related 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
-
check(
PermissionType type) → Future< PermissionStatus> - Checks the current permission status.
-
has(
PermissionType type) → Future< bool> - Checks if permission is granted or limited.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openSettings(
) → Future< void> - Opens the app settings page.
-
request(
PermissionType type) → Future< PermissionStatus> - Requests permission for the given type.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- instance → const PermissionsApi