CollectionData constructor
CollectionData({
- required String id,
- required String url,
- required String shortUrl,
- required int views,
- required int favorites,
- required String source,
- required Purity purity,
- required Category category,
- required int dimensionX,
- required int dimensionY,
- required String resolution,
- required String ratio,
- required int fileSize,
- required FileType fileType,
- required DateTime createdAt,
- required List<
String> colors, - required String path,
- 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,
});