dispose method

  1. @override
Future<void> dispose()
override

Dispose the resource, the operation should be called once time.

Throws DisposedException or ClearingException if this bag has been disposed or is disposing.

Implementation

@override
Future<void> dispose() => _clear(_Operation.dispose);