dispose method
Permanent shutdown (the host is going away).
Implementation
Future<void> dispose() async {
_disposed = true;
await stop();
await _stateChanges.close();
}
Permanent shutdown (the host is going away).
Future<void> dispose() async {
_disposed = true;
await stop();
await _stateChanges.close();
}