writeString method

Future<bool> writeString(
  1. String payload
)

Implementation

Future<bool> writeString(String payload) {
  return write(utf8.encode(payload), true);
}