GeolocationPermissionShowPromptResponse class Null safety

Class used by the host application to set the Geolocation permission state for an origin during the WebView.androidOnGeolocationPermissionsShowPrompt event.

Constructors

GeolocationPermissionShowPromptResponse({String? origin, bool? allow, bool? retain})

Properties

allow bool?
Whether or not the origin should be allowed to use the Geolocation API.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
origin String?
The origin for which permissions are set.
read / write
retain bool?
Whether the permission should be retained beyond the lifetime of a page currently being displayed by a WebView
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