toJson method Null safety

Map<String, dynamic> toJson()

Implementation

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