listener method

void listener(
  1. BuildContext context,
  2. BlocState state
)

Implementation

void listener(BuildContext context, BlocState state) => trigger(context, state as S);