onEvent<T> method

CancelSubscription onEvent <T>(
  1. Object target,
  2. dynamic handler(
    1. T event
    )
)

Implementation

CancelSubscription onEvent<T>(Object target, Function(T event) handler) {
  return input.onEvent<T>(target, handler);
}