Address.fromJson constructor

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

Implementation

Address.fromJson(Map<String, dynamic> json) {
  streetName = json['streetName'];
  postalCode = json['postalCode'];
  salesTerritory1 = json['salesTerritory1'];
  salesTerritory2 = json['salesTerritory2'];
  salesTerritory3 = json['salesTerritory3'];
  salesTerritory1Name = json['salesTerritory1Name'];
  salesTerritory2Name = json['salesTerritory2Name'];
  salesTerritory3Name = json['salesTerritory3Name'];
  salesTerritory4Name = json['salesTerritory4Name'];
  building = json['building'];
  buildingNe = json['buildingNe'];
  defaultValue = json['default'];
  defaultAddress = json['defaultAddress'];
}