CardsModel class

Model for CardsPage

Inheritance

Constructors

CardsModel()

Properties

error String?
no setter
hashCode int
The hash code for this object.
no setterinherited
listenerCount int
Returns the number of listeners listening to this model.
no setterinherited
loading bool
no setter
models List<CardEntity>?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service CardsService
Get service users
final

Methods

addListener(VoidCallback listener) → void
listener will be invoked when the model changes.
inherited
getList() Future<void>
Get users
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyListeners() → void
Should be called only by Model when the model has changed.
inherited
removeListener(VoidCallback listener) → void
listener will no longer be invoked when the model changes.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

of(BuildContext context) CardsModel
Get ScopedModel