AddressDTO.fromJson constructor

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

Implementation

AddressDTO.fromJson(Map<String, dynamic> json) : super.fromJson(json) {
  country = json['country'];
  state = json['state'];
  city = json['city'];
  district = json['district'];
  neighborhood = json['neighborhood'];
  street = json['street'];
  buildingNo = json['buildingNo'];
  doorNo = json['doorNo'];
  zipCode = json['zipCode'];
  latitude = json['latitude'];
  longitude = json['longitude'];
  openAddress = json['openAddress'];
}