dispose method
Implementation
Future<void> dispose() async {
if (_subscription != null) {
await _subscription!.cancel();
_subscription = null;
_resultSc.close();
}
}
Future<void> dispose() async {
if (_subscription != null) {
await _subscription!.cancel();
_subscription = null;
_resultSc.close();
}
}