DonationDropoff class

The class which stores the data associated with a donation drop-off

Constructors

DonationDropoff({String donorNumber, String amount, String dateDroppedOff, String depotId, String donorEmail})
Constructor
DonationDropoff.fromMap(Map map)
Generate a DonationDropoff from a map, used when retrieving data from the database
factory

Properties

amount String
read / write
dateDroppedOff String
read / write
depotId String
read / write
donorEmail String
read / write
donorNumber String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() Map<String, String>
Generate a map from a DonationDropoff object, used when writing data to the database
toString() String
Returns a string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited