onDone method
Called whenever an event
handler for a specific bloc
has completed.
This may include an error
and stackTrace
if an uncaught exception
occurred within the event handler.
Implementation
@protected
@mustCallSuper
void onDone(
Bloc<dynamic, dynamic> bloc,
Object? event, [
Object? error,
StackTrace? stackTrace,
]) {}