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.