Geolocation class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- Geolocation({LocationServices? locationServices, DateTime? timestamp, GeolocationCoordinate? coordinate, GeolocationAltitude? altitude, GeolocationHeading? heading, GeolocationSpeed? speed})
-
const
-
Geolocation.fromJson(Map<
String, dynamic> json) -
factory
Properties
- altitude → GeolocationAltitude?
-
final
- coordinate → GeolocationCoordinate?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- heading → GeolocationHeading?
-
final
- locationServices → LocationServices?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speed → GeolocationSpeed?
-
final
- timestamp → DateTime?
-
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.
override
Constants
-
fromJsonFactory
→ const Geolocation Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(Geolocation instance)