encode static method
Encode the provided string into a Base32 encoded string. Optionally, you can specify a custom alphabet for encoding.
Implementation
static String encode(String data, [String? customAlphabet]) {
return encodeBytes(StringUtils.encode(data), customAlphabet);
}