LifecycleObservable class abstract

生命周期被观察者 管理观察者对象:添加观察者,移除观察者,通知观察者

Implementers

Constructors

LifecycleObservable()

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

addObserver(LifecycleObserver observer) → void
添加观察者
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify(LifecycleState state) → void
通知观察者
removeObserver(LifecycleObserver observer) → void
移除观察者
toString() String
A string representation of this object.
inherited

Operators

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