toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['id'] = id;
data['name'] = name;
data['address'] = address;
data['latitude'] = latitude;
data['longitude'] = longitude;
return data;
}