ResModel class abstract

Constructors

ResModel.new()

Properties

changeEventsController StreamController<Map<String, dynamic>>
getter/setter pair
changeListener StreamSubscription
getter/setter pair
client ResClient
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
rid String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy() Future<void>
Close the event stream and stop listening for changes.
listen() → void
Listen to change events for this model.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onChange(void handler(Map<String, dynamic>)) StreamSubscription
Execute handler everytime this model receives an update (change event).
toString() String
A string representation of this object.
inherited
updateFromJson(Map<String, dynamic> json) → void
Update the data of this model using the json data. NOTE: only the updated values are available in the json data.

Operators

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