OrderAddress.fromJson constructor

OrderAddress.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory OrderAddress.fromJson(Map<String, dynamic> json) {
  return OrderAddress(
    addressName: json['addressName'],
    fullname: json['fullname'],
    phoneNumber: json['phoneNumber'],
    countryName: json['countryName'],
    provinceName: json['provinceName'],
    districtName: json['districtName'],
    subdistrictName: json['subdistrictName'],
    postalCode: json['postalCode'],
    address: json['address'],
    addressNotes: json['addressNotes'],
    langtitude: json['langtitude'],
    longtitude: json['longtitude'],
    cityName: json['cityName'],
    isDefault: json['isDefault'],
    customerAddressID: json['customerAddressID'],
    countryID: json['countryID'],
    provinceID: json['provinceID'],
    districtID: json['districtID'],
    subdistrictID: json['subdistrictID'],
    cityID: json['cityID'],
  );
}