TimeDistanceCoordinate class Core
Timestamp & distance & coordinates structure
Constructors
- TimeDistanceCoordinate({required Coordinates coords, int distance = 0, int stamp = 0})
- Creates a new time distance coordinate.
-
TimeDistanceCoordinate.fromJson(Map<
String, dynamic> json) -
factory
Properties
- coords ↔ Coordinates
-
WGS coordinates.
getter/setter pair
- distance ↔ int
-
Relative distance in meters.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stamp ↔ int
-
Time stamp in milliseconds.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
covariant TimeDistanceCoordinate other) → bool -
The equality operator.
override