Address.fromJson constructor

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

Implementation

factory Address.fromJson(Map<String, dynamic> json) => Address(
      id: json["id"],
      name: json["name"],
      line1: json["line_1"],
      line2: json["line_2"],
      city: json["city"],
      state: json["state"],
      country: json["country"],
      zip: json["zip"],
      phoneNumber: json["phone_number"],
      createdAt: json["created_at"],
    );