Location class

Available Extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

Location({String? address, String? city, String? region, String? postalCode, String? country, double? lat, double? lon, String? storeNumber})
Location.fromJson(Map<String, dynamic> json)
factory

Properties

address String?
final
city String?
final
country String?
final
hashCode int
The hash code for this object.
no setterinherited
lat double?
final
lon double?
final
postalCode String?
final
region String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storeNumber 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 ==(dynamic other) bool
The equality operator.
override

Constants

fromJsonFactory → const Location Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(Location instance)