Address.fromJson constructor
Address.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Address.fromJson(Map<String, dynamic> json) {
return Address(
addressId: json['AddressId'] as String?,
city: json['City'] as String?,
company: json['Company'] as String?,
country: json['Country'] as String?,
isRestricted: json['IsRestricted'] as bool?,
landmark: json['Landmark'] as String?,
name: json['Name'] as String?,
phoneNumber: json['PhoneNumber'] as String?,
postalCode: json['PostalCode'] as String?,
prefectureOrDistrict: json['PrefectureOrDistrict'] as String?,
stateOrProvince: json['StateOrProvince'] as String?,
street1: json['Street1'] as String?,
street2: json['Street2'] as String?,
street3: json['Street3'] as String?,
);
}