dispose method
void
dispose()
Implementation
void dispose() async {
await _streamController.close();
final outputs = _outputs;
_outputs.clear();
Future.microtask(() {
outputs.forEach((output) => output.dispose());
});
}