LocationRequest class

A data object that allows you to configure the positioning parameters.

Constructors

LocationRequest({String? buildingIdentifier, bool? useDeadReckoning, bool? useForegroundService, ForegroundServiceNotificationOptions? foregroundServiceNotificationOptions, OutdoorLocationOptions? outdoorLocationOptions, RealtimeUpdateInterval? realtimeUpdateInterval, bool? useWifi, bool? useBle, bool? useGps, MotionMode? motionMode, DiagnosticsOptions? diagnosticsOptions})

Properties

buildingIdentifier → String?
final
diagnosticsOptions → DiagnosticsOptions?
final
foregroundServiceNotificationOptions → ForegroundServiceNotificationOptions?
final
hashCode → int
The hash code for this object.
no setterinherited
motionMode → MotionMode?
final
outdoorLocationOptions → OutdoorLocationOptions?
final
realtimeUpdateInterval → RealtimeUpdateInterval?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
useBle → bool?
final
useDeadReckoning → bool?
final
useForegroundService → bool?
final
useGps → bool?
final
useWifi → bool?
Only for Android.
final

Methods

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

Operators

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