dispose method

Future<void> dispose()

Disposes of the tester and closes the bloc.

Implementation

Future<void> dispose() async {
  _untap?.call();
  _untap = null;
  await bloc.close();
}