onClose method

  1. @protected
  2. @mustCallSuper
void onClose(
  1. BlocBase bloc
)
inherited

Called whenever a Bloc is closed. onClose is called just before the Bloc is closed and indicates that the particular instance will no longer emit new states.

Implementation

@protected
@mustCallSuper
void onClose(BlocBase bloc) {}