write method

void write(
  1. Object? obj
)

Writes the given object to the buffer.

If the object is null, an empty string is written.

Implementation

void write(Object? obj) {
  _sink.write(obj);
}