dispose method
Implementation
Future<void> dispose() async {
await _sourceSubscription?.cancel();
_sourceSubscription = null;
await _controller.close();
}
Future<void> dispose() async {
await _sourceSubscription?.cancel();
_sourceSubscription = null;
await _controller.close();
}