getAsset method
Get an asset */
Implementation
String getAsset() {
var amount = getUint8List(8);
var sym = getSymbol();
var s = numeric.signedBinaryToDecimal(amount, minDigits: sym.precision + 1);
if (sym.precision != 0) {
s = s.substring(0, s.length - sym.precision) + '.' + s.substring(s.length - sym.precision);
}
return s + ' ' + sym.name;
}