dispose method

Future<void> dispose()

Closes the underlying subject.

Implementation

Future<void> dispose() async {
  await _subject.close();
}