GeolocationState class
Constructors
- GeolocationState({required bool enabled, bool isMoving = false, bool? schedulerEnabled, double? odometer, Location? location, JsonMap? extras})
-
const
- GeolocationState.fromMap(JsonMap map)
-
factory
Properties
- enabled → bool
-
final
- extras → JsonMap?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isMoving → bool
-
final
- location → Location?
-
final
- odometer → double?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schedulerEnabled → bool?
-
final
Methods
-
copyWith(
{bool? enabled, bool? isMoving, bool? schedulerEnabled, double? odometer, Location? location, JsonMap? extras}) → GeolocationState - Creates a copy of this state with the given fields replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → JsonMap -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited