PermissionRequestResponse class
Class that represents the response used by the PlatformWebViewCreationParams.androidOnPermissionRequest event. Use PermissionResponse instead.
- Annotations
-
- @Deprecated('Use PermissionResponse instead')
Constructors
-
PermissionRequestResponse({PermissionRequestResponseAction? action = PermissionRequestResponseAction.DENY, List<
String> resources = const []})
Properties
- action ↔ PermissionRequestResponseAction?
-
Indicate the PermissionRequestResponseAction to take in response of a permission request.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
resources
↔ List<
String> -
Resources granted to be accessed by origin.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts instance to a map.
-
toMap(
) → Map< String, dynamic> - Converts instance to a map.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? map) → PermissionRequestResponse? - Gets a possible PermissionRequestResponse instance from a Map value.