Address.fromJson constructor

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

Implementation

factory Address.fromJson(Map<String, dynamic> json) {
  return Address(
    postalCode: json['postalCode'],
    country: json['country'],
    state: json['state'],
    line1: json['line1'],
    line2: json['line2'],
    city: json['city'],
  );
}