CollectionData constructor

CollectionData({
  1. required String id,
  2. required String url,
  3. required String shortUrl,
  4. required int views,
  5. required int favorites,
  6. required String source,
  7. required Purity purity,
  8. required Category category,
  9. required int dimensionX,
  10. required int dimensionY,
  11. required String resolution,
  12. required String ratio,
  13. required int fileSize,
  14. required FileType fileType,
  15. required DateTime createdAt,
  16. required List<String> colors,
  17. required String path,
  18. required Thumbs thumbs,
})

Implementation

CollectionData({
  required this.id,
  required this.url,
  required this.shortUrl,
  required this.views,
  required this.favorites,
  required this.source,
  required this.purity,
  required this.category,
  required this.dimensionX,
  required this.dimensionY,
  required this.resolution,
  required this.ratio,
  required this.fileSize,
  required this.fileType,
  required this.createdAt,
  required this.colors,
  required this.path,
  required this.thumbs,
});