LocationSettingsStates class

Constructors

LocationSettingsStates({required bool blePresent, required bool bleUsable, required bool gpsPresent, required bool gpsUsable, required bool locationPresent, required bool locationUsable, required bool networkLocationPresent, required bool networkLocationUsable, required bool hmsLocationPresent, required bool hmsLocationUsable, required bool gnssPresent, required bool gnssUsable})
LocationSettingsStates.fromJson(String source)
factory
LocationSettingsStates.fromMap(Map map)
factory

Properties

blePresent bool
Indicates whether the BLE is available on the device.
getter/setter pair
bleUsable bool
Indicates whether the BLE is enabled and can be used by the app.
getter/setter pair
gnssPresent bool
True if the GNSS service is available on the device; false otherwise.
getter/setter pair
gnssUsable bool
True if the GNSS function is enabled on the device; false otherwise.
getter/setter pair
gpsPresent bool
Indicates whether the GPS provider is available on the device.
getter/setter pair
gpsUsable bool
Indicates whether the GPS provider is enabled and can be used by the app.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
hmsLocationPresent bool
Indicates whether HMS Core (APK) is available for location.
getter/setter pair
hmsLocationUsable bool
Indicates whether the location function is enabled for HMS Core (APK).
getter/setter pair
locationPresent bool
Indicates whether the location provider is available on the device.
getter/setter pair
locationUsable bool
Indicates whether the location provider is enabled and can be used by the app.
getter/setter pair
networkLocationPresent bool
Indicates whether the network location provider is available on the device.
getter/setter pair
networkLocationUsable bool
Indicates whether the network location provider is enabled and can be used by the app.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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