PermissionManagerWeb class

The Web implementation of PermissionManagerPlatform.

Inheritance

Constructors

PermissionManagerWeb()
Constructs a PermissionManagerWeb.

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(PermissionManagerPermission permission) Future<PermissionManagerStatus>
Checks the status of a specific permission.
override
checkMultiple(List<PermissionManagerPermission> permissions) Future<Map<PermissionManagerPermission, PermissionManagerStatus>>
Checks the status of multiple permissions at once.
override
getPlatformVersion() Future<String?>
Returns the platform version string.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openAppSettings() Future<void>
Opens the application settings on the device.
override
request(PermissionManagerPermission permission) Future<PermissionManagerStatus>
Requests a specific permission from the user.
override
requestMultiple(List<PermissionManagerPermission> permissions) Future<Map<PermissionManagerPermission, PermissionManagerStatus>>
Requests multiple permissions from the user at once.
override
statusStream(PermissionManagerPermission permission) Stream<PermissionManagerStatus>
Provides a stream of PermissionManagerStatus for a specific 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
Registers this class as the default instance of PermissionManagerPlatform.