toJson method

  1. @override
Map<String, dynamic> toJson()
override

Converts the request parameters to a JSON format.

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    "owner_address": ownerAddress,
    "name": name,
    "abbr": abbr,
    "total_supply": totalSupply,
    "trx_num": trxNum,
    "num": num,
    "start_time": startTime,
    "end_time": endTime,
    "description": description,
    "url": url,
    "free_asset_netimit": freeAssetNetLimit,
    "public_free_asset_netimit": publicFreeAssetNetLimit,
    "frozen_supply": frozenSupply,
    "precision": precision,
    "visible": visible
  };
}