PermissionRequestResponse class Null safety

Class that represents the response used by the WebView.androidOnPermissionRequest event.

Constructors

PermissionRequestResponse({List<String> resources = const [], PermissionRequestResponseAction? action = PermissionRequestResponseAction.DENY})

Properties

action PermissionRequestResponseAction?
Indicate the PermissionRequestResponseAction to take in response of a permission request.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
resources List<String>
Resources granted to be accessed by origin.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toMap() Map<String, dynamic>
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited