dispose method
void
dispose()
Unregisters this reader and releases its reference to the channel. Subsequent reads throw StateError. Other readers are unaffected.
Implementation
void dispose() {
_channel?._readers.remove(this);
_channel = null;
}