GeolocationPermissionShowPromptResponse class Null safety

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


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


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


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


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