toMap method
Generate a map from a Depot object, used when writing data to the database
Implementation
Map<String, String> toMap(){
Map<String, String> map = Map<String, String>();
map['name'] = this.name;
map['lat'] = this.lat;
map['long'] = this.long;
map['comments'] = this.comments;
map['contactNumber'] = this.contactNumber;
map['address'] = this.address;
return map;
}