MethodChannelPermissionManager class

An implementation of PermissionManagerPlatform that uses method channels.

Inheritance

Properties

eventChannel EventChannel
The event channel used to receive permission status updates.
final
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
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.
override
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