dispose method
Cancels the stream subscription and releases resources.
Implementation
Future<void> dispose() async {
await subscription.cancel();
}
Cancels the stream subscription and releases resources.
Future<void> dispose() async {
await subscription.cancel();
}