ObserverWrapper<T> class
abstract
观察者包装类,具体实现 _AlwaysActiveObserver
和 _LifecycleBoundObserver
Constructors
-
ObserverWrapper.new(LiveData<
T> liveData, Observer<T> observer)
Properties
Methods
-
activeStateChanged(
bool newActive) → void -
detachObserver(
) → void -
isBoundTo(
BaseViewState< StatefulWidget, ViewModel> owner) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldBeActive(
) → bool -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited