dispose method
void
dispose()
Dispose the stream when the implemented class is disposed
Implementation
void dispose() {
stateObserver.close();
}
Dispose the stream when the implemented class is disposed
void dispose() {
stateObserver.close();
}