onEventDataBy<R> method
监听符合条件的事件数据
Implementation
StreamSubscription<R> onEventDataBy<R>(
bool Function(T event) predicate,
ValueChanged<R> onListen,
) {
return streamEventDataWhereBy<R>(predicate).listen(onListen);
}
监听符合条件的事件数据
StreamSubscription<R> onEventDataBy<R>(
bool Function(T event) predicate,
ValueChanged<R> onListen,
) {
return streamEventDataWhereBy<R>(predicate).listen(onListen);
}