stop method

Future<void> stop()

Implementation

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