LocationModel class
Constructors
- LocationModel({required double latitude, required double longitude, required double altitude, required double accuracy, required double heading, int? buildingFloor, required double speed, required double speedAccuracy})
- LocationModel.fromJson(String source)
-
factory
-
LocationModel.fromMap(Map<
String, dynamic> map) -
factory
Properties
- accuracy → double
-
final
- altitude → double
-
final
- buildingFloor → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- heading → double
-
final
- latitude → double
-
final
- longitude → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speed → double
-
final
- speedAccuracy → double
-
final
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited