shutdown method
Flush and shut down.
Implementation
Future<void> shutdown() async {
_isShutdown = true;
_flushTimer?.cancel();
_flushTimer = null;
await _flush();
}
Flush and shut down.
Future<void> shutdown() async {
_isShutdown = true;
_flushTimer?.cancel();
_flushTimer = null;
await _flush();
}