Addresses.fromJson constructor

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

Implementation

Addresses.fromJson(Map<String, dynamic> json) {
  isPrimary = json['isPrimary'];
  fullAddress = json['fullAddress'];
  addressId = json['addressId'];
  line1 = json['line1'];
  line2 = json['line2'];
  city = json['city'];
  state = json['state'];
  postalCode = json['postalCode'];
  country = json['country'];
  isSelected = json['isSelected'];
}