GeolocatorCN class

A service helper class that can use multiple location services at the same time.

Constructors

GeolocatorCN({List<LocationServiceProvider>? providers})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
providers List<LocationServiceProvider>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getLocation({CRS crs = CRS.gcj02}) Future<LocationData>
get the current location
hasPermission() Future<bool>
check if the location service is enabled, if not enabled, request permission
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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