stop method
Implementation
Future<void> stop() async {
_running = false;
_timer?.cancel();
await _flush(force: true);
await _channel?.shutdown();
}
Future<void> stop() async {
_running = false;
_timer?.cancel();
await _flush(force: true);
await _channel?.shutdown();
}