encode static method
Combine the network version bytes and data.
Implementation
static String encode(String hrp, List<int> netVar, List<int> data) {
return Bech32EncoderBase.encodeBech32(
hrp,
Bech32BaseUtils.convertToBase32(List<int>.from([...netVar, ...data])),
BchBech32Const.separator,
_BchBech32Utils.computeChecksum);
}