PermissionHandlerWeb class
- Inheritance
-
- Object
- PlatformInterface
- PermissionHandlerPlatform
- PermissionHandlerWeb
Constructors
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
-
checkPermissionStatus(
Permission permission) → Future< PermissionStatus> -
Checks the current status of the given
Permission
.override -
checkServiceStatus(
Permission permission) → Future< ServiceStatus> -
Checks the current status of the service associated with the given
Permission
.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openAppSettings(
) → Future< bool> -
Opens the app settings page.
override
-
requestPermissions(
List< Permission> permissions) → Future<Map< Permission, PermissionStatus> > -
Requests the user for access to the supplied list of
Permission
s, if they have not already been granted before.override -
shouldShowRequestPermissionRationale(
Permission permission) → Future< bool> -
Checks if you should show a rationale for requesting permission.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void