ModelObserver<Model> class abstract

The ModelObserver is rarely used. It's goal is to observe and troubleshoot the model changes causing rebuilds. While you may subclass it to implement its observe method, usually you can just use the provided DefaultModelObserver to print the StoreConnector's ViewModel to the console.

Implementers

Constructors

ModelObserver()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
observe({required Model? modelPrevious, required Model? modelCurrent, bool? isDistinct, StoreConnectorInterface? storeConnector, int? reduceCount, int? dispatchCount}) → void
The ModelObserver can be used to observe and troubleshoot the model changes.
toString() String
A string representation of this object.
inherited

Operators

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