stop method

Future<void> stop()

Implementation

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