CollectionData class
- Annotations
-
- @JsonSerializable()
Constructors
-
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}) -
CollectionData.fromJson(Map<
String, dynamic> json) -
factory
Properties
- category ↔ Category
-
getter/setter pair
-
colors
↔ List<
String> -
getter/setter pair
- createdAt ↔ DateTime
-
getter/setter pair
- dimensionX ↔ int
-
getter/setter pair
- dimensionY ↔ int
-
getter/setter pair
- favorites ↔ int
-
getter/setter pair
- fileSize ↔ int
-
getter/setter pair
- fileType ↔ FileType
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
getter/setter pair
- path ↔ String
-
getter/setter pair
- purity ↔ Purity
-
getter/setter pair
- ratio ↔ String
-
getter/setter pair
- resolution ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortUrl ↔ String
-
getter/setter pair
- source ↔ String
-
getter/setter pair
- thumbs ↔ Thumbs
-
getter/setter pair
- url ↔ String
-
getter/setter pair
- views ↔ int
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited