toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "street": street,
      "area": area,
      "city": city,
      "country": country,
      "pincode": pincode,
    };