dispose method

Future<void> dispose()

Implementation

Future<void> dispose() async {
  await _subscription?.cancel();
  _subscription = null;
}