Location class

Constructors

Location({required double latitude, required double longitude, required double altitude, required double speed, required double speedometer, required double accuracy, required int timestamp, required double bearing, required bool isMock, required int battery})
Location.fromJson(Map<String, dynamic> data)
factory

Properties

accuracy double
final
altitude double
final
battery int
final
bearing double
final
hashCode int
The hash code for this object.
no setterinherited
isMock bool
final
latitude double
final
longitude double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed double
final
speedometer double
final
timestamp int
final

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.
override

Operators

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