write method

void write(
  1. String message
)

Write a string with the specified encoding.

Implementation

void write(String message) =>
    streamSinkWrite(sink, message, encoding: encoding);