AgedPosition class
A last known location with its age, as the platform reports it.
Constructors
- AgedPosition(Position position, Duration age, {bool ageReliable = true, Address? address})
-
const
Properties
- address → Address?
-
The address stored with it, if one was looked up.
final
- age → Duration
-
Time since the fix. Computed natively from the monotonic clock when the
fix is from the current boot, otherwise from the wall clock.
final
- ageReliable → bool
-
falsewhen the age came from a wall clock that has since moved backwards, so it can't be trusted. Such a value sorts as older than any value with a reliable age.final - hashCode → int
-
The hash code for this object.
no setterinherited
- position → Position
-
final
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited