PermissionHandlerHelper class
Helper class for runtime permissions
- Implemented types
Constructors
- PermissionHandlerHelper()
-
Factory constructor for easy access
factory
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
-
initializeForRealDevice(
) → Future< void> - Initialize permission handler for real devices
-
isDenied(
Permission permission) → Future< bool> -
Check if permission is denied
override
-
isGranted(
Permission permission) → Future< bool> -
Check if permission is granted
override
-
isPermanentlyDenied(
Permission permission) → Future< bool> -
Check if permission is permanently denied
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openAppSettings(
) → Future< bool> -
Open app settings
override
-
requestPermission(
Permission permission) → Future< bool> -
Request a single permission
override
-
requestPermissions(
List< Permission> permissions) → Future<Map< Permission, bool> > -
Request multiple permissions
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → PermissionHandlerHelper
-
no setter