Encodes a string to UTF-8 binary data.
string is the string to encode.
string
Returns the UTF-8 encoded bytes.
static Uint8List encode(String string) { return coder!.encode(string); }