onState<S> method

void onState <S>(
  1. Object target,
  2. dynamic handler(
    1. S
    )
)

Implementation

void onState<S>(Object target, Function(S) handler) {
  return output.onState<S>(target, handler);
}