write method

void write(
  1. T chunk
)

Implementation

void write(T chunk) {
  if (isClosed) return;
  streamController.add(chunk);
}