writeString method
This is a helper function, for send text to the output. It will encode your supplied text in utf8.
For byte data use output.add(data).
Implementation
void writeString(String text) => output.add(utf8.encode(text));
This is a helper function, for send text to the output. It will encode your supplied text in utf8.
For byte data use output.add(data).
void writeString(String text) => output.add(utf8.encode(text));