Model class abstract

Base class for all Models

Constructors

Model()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

load({int batchSize = 1}) Future<void>
load data from database. Model instancce should have an ID at least.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap({String fields = '*', bool ignoreNull = true}) Map<String, dynamic>
convert model to map, with specified fields (default:*).
toString() String
A string representation of this object.
inherited

Operators

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