Address.fromJson constructor

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

Implementation

Address.fromJson(Map<String, dynamic> json) {
  country = json['country'];
  formatted = json['formatted'];
  locality = json['locality'];
  postalCode = json['postal_code'];
  region = json['region'];
  streetAddress = json['street_address'];
}