toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    "name": name,
    "symbol": symbol,
    "baseUri": baseUri,
    "baseExtension": baseExtension,
    "isRevokable": isRevokable,
    "isSoulbound": isSoulbound,
    "royaltiesAddress": royaltiesAddress,
    "royaltiesFees": royaltiesFees,
    "drop": drop,
    "maxSupply": maxSupply,
    "description": description,
    "collectionType": collectionType1?.value,
    "chain": chain1?.value,
    "isAutoIncrement": isAutoIncrement ?? true,
    "dropPrice": dropPrice,
    "dropStart": dropStart,
    "dropReserve":dropReserve,
  };
}