ICollection.fromJson constructor

ICollection.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ICollection.fromJson(Map<String, dynamic> json) {
  return ICollection(
      collectionUuid: json["collectionUuid"],
      contractAddress: json["contractAddress"],
      deployerAddress: json["deployerAddress"],
      transactionHash: json["transactionHash"],
      collectionStatus: CollectionStatus.getByValue(json["collectionStatus"]),
      collectionType: json["collectionType"],
      chain: json["chain"],
      updateTime: json["updateTime"],
      createTime: json["createTime"],
      name: json["name"],
      symbol: json["symbol"],
      baseUri: json["baseUri"],
      baseExtension: json["baseExtension"],
      isRevokable: json["isRevokable"],
      isSoulbound: json["isSoulbound"],
      royaltiesAddress: json["royaltiesAddress"],
      royaltiesFees: json["royaltiesFees"],
      drop: json["drop"],
      maxSupply: json["maxSupply"],
      description: json["description"],
      isAutoIncrement: json["isAutoIncrement"]);
}