Depot class

A class which stores depot data

Constructors

Depot({String id, String name, String lat, String long, String comments, String contactNumber, String address})
Constructor
Depot.fromMap(String id, Map map)
Generate a Depot from a map, used when retrieving data from the database
factory

Properties

address String
read / write
comments String
read / write
contactNumber String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
read / write
lat String
read / write
long String
read / write
name String
read / write
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 Depot object, used when writing data to the database
toString() String
Returns a string representation of this object.
inherited

Operators

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