stop method

Future<void> stop()

Implementation

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