close method
void
close()
Implementation
void close() {
if (_isClosed) {
throw 'You can not close a closed Stream';
}
listenable._notifyDone();
listenable.clear();
_isClosed = true;
}
void close() {
if (_isClosed) {
throw 'You can not close a closed Stream';
}
listenable._notifyDone();
listenable.clear();
_isClosed = true;
}