encode static method
Encodes the given data using the Bech32 encoding with the given human readable part
Implementation
static String encode(String humanReadablePart, Uint8List data) {
final converted = _convertBits(data, 8, 5);
const bech32Codec = Bech32Codec();
final bech32Data = Bech32(humanReadablePart, converted);
return bech32Codec.encode(bech32Data);
}