EventSubscription<T> class
异步删除防止在迭代器中操作元素
Constructors
-
EventSubscription({required Map<
int, dynamic> map})
Properties
Methods
-
free(
) → dynamic -
listen(
EventCallback< T> callback) → EventSubscription<T> - 监听事件回调
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
wait(
) → Future< T> - 使用fluttery异步实现 ,注意!!!!回调一次之后会自动销毁
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited