LocationPayload class

Location payload

Annotations
  • @JsonSerializable.new()

Constructors

LocationPayload({double? latitude, double? longitude, double? accuracy, double? altitude, double? speed, double? bearing, double? course, String? provider, String? timestamp, bool? isMocked, String? address, String? city, String? country, String? countryCode, String? postalCode, String? administrativeArea, String? subAdministrativeArea, String? locality, String? subLocality})
const
LocationPayload.fromJson(Map<String, dynamic> json)
factory

Properties

accuracy double?
final
address String?
final
administrativeArea String?
final
altitude double?
final
bearing double?
final
city String?
final
country String?
final
countryCode String?
final
course double?
final
hashCode int
The hash code for this object.
no setterinherited
isMocked bool?
final
latitude double?
final
locality String?
final
longitude double?
final
postalCode String?
final
provider String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed double?
final
subAdministrativeArea String?
final
subLocality String?
final
timestamp String?
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.
inherited

Operators

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