Location class
This object represents a point on the map.
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake)
Constructors
- Location.new({required double longitude, required double latitude, double? horizontalAccuracy, int? livePeriod, int? heading, int? proximityAlertRadius})
-
Location.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- heading ↔ int?
-
getter/setter pair
- horizontalAccuracy ↔ double?
-
getter/setter pair
- latitude ↔ double
-
getter/setter pair
- livePeriod ↔ int?
-
getter/setter pair
- longitude ↔ double
-
getter/setter pair
- proximityAlertRadius ↔ int?
-
getter/setter pair
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited