KopoModel.fromJson constructor Null safety

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

Implementation

KopoModel.fromJson(Map<String, dynamic> json) {
  postcode = json['postcode'];
  postcode1 = json['postcode1'];
  postcode2 = json['postcode2'];
  postcodeSeq = json['postcodeSeq'];
  zonecode = json['zonecode'];
  address = json['address'];
  addressEnglish = json['addressEnglish'];
  addressType = json['addressType'];
  bcode = json['bcode'];
  bname = json['bname'];
  bname1 = json['bname1'];
  bname2 = json['bname2'];
  sido = json['sido'];
  sigungu = json['sigungu'];
  sigunguCode = json['sigunguCode'];
  userLanguageType = json['userLanguageType'];
  query = json['query'];
  buildingName = json['buildingName'];
  buildingCode = json['buildingCode'];
  apartment = json['apartment'];
  jibunAddress = json['jibunAddress'];
  jibunAddressEnglish = json['jibunAddressEnglish'];
  roadAddress = json['roadAddress'];
  roadAddressEnglish = json['roadAddressEnglish'];
  autoRoadAddress = json['autoRoadAddress'];
  autoRoadAddressEnglish = json['autoRoadAddressEnglish'];
  autoJibunAddress = json['autoJibunAddress'];
  autoJibunAddressEnglish = json['autoJibunAddressEnglish'];
  userSelectedType = json['userSelectedType'];
  noSelected = json['noSelected'];
  hname = json['hname'];
  roadnameCode = json['roadnameCode'];
  roadname = json['roadname'];
}