dispose method
Stops listening for new inputs.
Implementation
Future<void> dispose() async {
await _subscription?.cancel();
_subscription = null;
}
Stops listening for new inputs.
Future<void> dispose() async {
await _subscription?.cancel();
_subscription = null;
}