LocationModel constructor
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,
Implementation
LocationModel(
{this.id,
this.uniqueId,
this.locationLabel = '',
this.favourite = 0,
this.street = "",
this.zip,
this.city = "",
this.state = "",
this.country = "",
this.utcModifier = "Europe/Tallinn",
this.lat = 0,
this.lng = 0,
this.type = LocationType.home,
this.contactPhone = '',
this.deliveryInstructions = '',
this.setAsDefault = false});