encodeString method Null safety
- String utf8string
Takes in a utf8string
, converts the string to a byte list
and runs a normal encode() on it. Returning a String representation
of the base32.
Implementation
static String encodeString(String utf8string) {
return encode(Uint8List.fromList(utf8string.codeUnits));
}