ObsGroup class
ObsGroup通过其subscribe方法,收集Subscription,可实现批量取消
Constructors
- ObsGroup()
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
-
cancel(
) → void - 取消所有事件监听
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
subscribe<
T> (Obs< T> obs, Observer<T> observer) → Subscription<T> - 定义指定类型T的事件
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited