safeValue property
void
safeValue=(T newValue)
Safely set value to the stream and do nothing if stream is closed
Implementation
set safeValue(T newValue) => isClosed == false ? add(newValue) : doNothing();