dispose method
Closes the stream and unsubscribes from the channel. Call this when the manager is no longer needed.
Implementation
Future<void> dispose() async {
await _cancelSubscription();
}
Closes the stream and unsubscribes from the channel. Call this when the manager is no longer needed.
Future<void> dispose() async {
await _cancelSubscription();
}