ViewStateObserver<S extends ViewState> class abstract

ViewStateObserver defines an observer interface for receiving updated ViewStates. Instances of ViewState are emitted by a Presenter and received by a View component (in Framework layer) implementing the interface. Concrete implemenations of ViewStateObserver are placed to Presentation layer.

Implementers

Constructors

ViewStateObserver()

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
onViewStateChanged(S state) → void
Invoked when a state changes.
toString() String
A string representation of this object.
inherited

Operators

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