stop method

Future<void> stop()

Implementation

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