Address class
Constructors
-
Address({String addressName = "", String fullname = "", String address = "", String note = "", int addressId = -1, String latitude = "", String longitude = "", int customerAddressID = -1, String phoneNumber = "", int countryID = -1, String countryName = "", int provinceID = -1, String provinceName = "", int cityID = -1, String cityName = "", int districtID = -1, String districtName = "", int subdistrictID = -1, String subdistrictName = "", String postalCode = "", String addressNotes = "", bool isDefault = false, String langtitude = "", String longtitude = "", ShippingCoverage? shippingCoverage})
-
-
Address.fromJson(Map<String, dynamic> json)
-
factory
Methods
-
copyWith({String? addressName, String? fullname, String? address, String? note, String? latitude, int? addressId, String? longitude, int? customerAddressID, String? phoneNumber, int? countryID, String? countryName, int? provinceID, String? provinceName, int? cityID, String? cityName, int? districtID, String? districtName, int? subdistrictID, String? subdistrictName, String? postalCode, String? addressNotes, bool? isDefault, ShippingCoverage? shippingCoverage, String? langtitude, String? longtitude})
→ Address
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap()
→ Map<String, dynamic>
-
-
toShipping({required String rateType, required String orderId})
→ Map<String, dynamic>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
toSubmit()
→ Map<String, dynamic>
-