WebDelegate class
The delegate class for WebPermissionHandler. Used for dependency injection of html.MediaDevices and html.Permissions objects
Constructors
- WebDelegate(MediaDevices? devices, Geolocation? geolocation, Permissions? permissions)
- Constructs a WebDelegate.
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
. -
checkServiceStatus(
Permission permission) → Future< ServiceStatus> -
Checks the current status of the service associated with the given
Permission
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
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. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited