dispatcherWithData<V> method

ValueChanged<V> dispatcherWithData<V>(
  1. T event
)

创建带数据的事件分发回调

Implementation

ValueChanged<V> dispatcherWithData<V>(T event) {
  return (data) => dispatch(event, data: data);
}