Model class

Model of a row in database.

Constructors

Model()

Properties

hashCode int
The hash code for this object. [...]
read-only, override
id int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tableName String
Implement to get table name.
read-only

Methods

constructFromDB(Map<String, dynamic> row) → void
delete() Future<void>
Delete model.
merge() Future<void>
Merge model.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
save() Future<void>
Save model.
toMapForDB() Map<String, dynamic>
Implement this method to save values in database.
toString() String
A string representation of this object. [...]
override

Operators

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