onEventData<R> method
监听指定事件的数据
Implementation
StreamSubscription<R> onEventData<R>(
T event,
ValueChanged<R> onListen,
) {
return onEventDataBy(
(item) => event == item,
onListen,
);
}
监听指定事件的数据
StreamSubscription<R> onEventData<R>(
T event,
ValueChanged<R> onListen,
) {
return onEventDataBy(
(item) => event == item,
onListen,
);
}