GeolocationPermission class

Represents all possible permission values used by the Geolocation plugin.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value int
The current permission value.
final

Methods

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

Operators

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

Constants

location → const GeolocationPermission
Android: Fine and Coarse Location iOS: CoreLocation (Always and WhenInUse)
const GeolocationPermission._(0)
locationAlways → const GeolocationPermission
Android: Fine and Coarse Location iOS: CoreLocation - Always
const GeolocationPermission._(1)
locationWhenInUse → const GeolocationPermission
Android: Fine and Coarse Location iOS: CoreLocation - WhenInUse
const GeolocationPermission._(2)
values → const List<GeolocationPermission>
List with all possible permission values
const <GeolocationPermission>[location, locationAlways, locationWhenInUse]