Address.fromJson constructor

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

Implementation

factory Address.fromJson(Map<String, dynamic> json) => Address(
      city: json["city"],
      complement: json["complement"],
      name: json["name"],
      neighborhood: json["neighborhood"],
      number: json["number"],
      phoneNumber: json["phone_number"],
      state: json["state"],
      street: json["street"],
      zipCode: json["zip_code"],
    );