toMap method

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

Implementation

Map<String, Object> toMap({raw=false}) {
  return {
    "tokenId": raw ? this.tokenIdBuf : this.tokenId,
    "amounts": this.amounts
  };
}