toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "id": id,
      "name": name,
      "line_1": line1,
      "line_2": line2,
      "city": city,
      "state": state,
      "country": country,
      "zip": zip,
      "phone_number": phoneNumber,
      "created_at": createdAt,
    };