decode method
Implementation
static Future<Uint8List> decode(String b58) async {
Uint8List data = await Base58.decode(b58);
Uint8List val = data.sublist(1, 21);
String act = await encodeToBase58(val);
if (act != b58) {
throw ArgumentError('Deformed base58 address');
}
return val;
}