toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['apartment'] = this.apartment;
  data['area'] = this.area;
  data['pincode'] = this.pincode;
  data['landmark'] = this.landmark;
  data['city'] = this.city;
  data['state'] = this.state;
  data['country'] = this.country;
  return data;
}