dispose method
Disposes of the stream controller to avoid memory leaks.
Implementation
Future<void> dispose() async {
await _streamController.close();
}
Disposes of the stream controller to avoid memory leaks.
Future<void> dispose() async {
await _streamController.close();
}