toMap method
Generate a map from a DonationDropoff object, used when writing data to the database
Implementation
Map<String, String> toMap(){
Map<String, String> map = Map<String, String>();
map['donorNumber'] = this.donorNumber;
map['amount'] = this.amount;
map['dateDroppedOff'] = this.dateDroppedOff;
map['depotId'] = this.depotId;
map['donorEmail'] = this.donorEmail;
return map;
}