serialize method
@returns {string} return asset code
Implementation
String serialize() {
final addressBytes = issuer.buffer.asUint8List();
final slicedAddress = addressBytes.sublist(0, 34);
// concat 01 [version] + 34 bytes [address] + ^8bytes [asset name]
final version = Uint8List.fromList([0x01]);
final concatValues = version +
slicedAddress +
shortName.value!; // add trailing zeros, shortname must be 8 bytes long
return Base58Encoder.instance.encode(concatValues);
}