LocationModel class

Constructors

LocationModel({int? id, String? uniqueId, String locationLabel = '', int favourite = 0, String street = "", String? zip, String city = "", String state = "", String country = "", String? utcModifier = "Europe/Tallinn", double lat = 0, double lng = 0, LocationType type = LocationType.home, String contactPhone = '', String deliveryInstructions = '', bool setAsDefault = false})
LocationModel.fromJson(Map<String, dynamic> json)

Properties

city String
getter/setter pair
contactPhone String
getter/setter pair
country String
getter/setter pair
deliveryInstructions String
getter/setter pair
favourite int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
lat double
getter/setter pair
lng double
getter/setter pair
locationLabel String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setAsDefault bool
getter/setter pair
state String
getter/setter pair
street String
getter/setter pair
type LocationType
getter/setter pair
uniqueId String?
getter/setter pair
utcModifier String?
getter/setter pair
zip String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toAddress2String() String
toAddress3String() String
toAddressString() String
toAddressString2() String
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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