ModelObserver<Model> class

This will be given all errors, including those of type UserException. Return true to throw the error. False to swallow it. Note:

  • When isDistinct==true, it means the widget rebuilt because the model changed.
  • When isDistinct==false, it means the widget didn't rebuilt because the model hasn't changed.
  • When isDistinct==null, it means the widget rebuilds everytime, and the model is not relevant.
Implementers

Constructors

ModelObserver()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
observe({Model modelPrevious, Model modelCurrent, bool isDistinct, StoreConnectorInterface storeConnector, int reduceCount, int dispatchCount}) → void
toString() String
Returns a string representation of this object.
inherited

Operators

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