toMap method

Map<String, Object> toMap({
  1. dynamic raw = false,
})

Implementation

Map<String, Object> toMap({raw=false}) {
  return {
    "ticker": raw ? this.tickerBuf : this.ticker,
    "name": raw ? this.nameBuf : this.name,
    "documentUri": raw ? this.documentUriBuf : this.documentUri,
    "documentHash": raw ? this.documentHashBuf : this.documentHash,
    "decimals": this.decimals,
    "mintBatonVout": this.mintBatonVout,
    "qty": this.qty
  };
}