ICollection constructor

ICollection({
  1. required String collectionUuid,
  2. required String contractAddress,
  3. required String deployerAddress,
  4. required String transactionHash,
  5. required CollectionStatus collectionStatus,
  6. required int collectionType,
  7. required int chain,
  8. required String updateTime,
  9. required String createTime,
  10. required String name,
  11. required String symbol,
  12. required String baseUri,
  13. required String baseExtension,
  14. required bool isRevokable,
  15. required bool isSoulbound,
  16. required String royaltiesAddress,
  17. required int royaltiesFees,
  18. required bool drop,
  19. int? maxSupply,
  20. String? description,
  21. bool? isAutoIncrement,
})

Implementation

ICollection(
    {required this.collectionUuid,
    required this.contractAddress,
    required this.deployerAddress,
    required this.transactionHash,
    required this.collectionStatus,
    required this.collectionType,
    required this.chain,
    required this.updateTime,
    required this.createTime,
    required super.name,
    required super.symbol,
    required super.baseUri,
    required super.baseExtension,
    required super.isRevokable,
    required super.isSoulbound,
    required super.royaltiesAddress,
    required super.royaltiesFees,
    required super.drop,
    super.maxSupply,
    super.description,
    super.isAutoIncrement}) {
  super.collectionType1 = CollectionType.getByValue(collectionType);
  super.chain1 = EvmChain.getByValue(chain);
}