Thumbnail class
- Annotations
-
- @freezed
Constructors
- Thumbnail({required String url, @JsonKey(name: 'blurhash') required String blurHash, @JsonKey(name: 'versions') required ThumbnailVersion version})
-
constfactory
-
Thumbnail.fromJson(Map<
String, Object?> json) -
factory
Properties
- blurHash → String
-
A hash computed by the
BlurHash algorithm
, for generating colorful preview thumbnails when media has not been downloaded yet.no setterinherited -
copyWith
→ $ThumbnailCopyWith<
Thumbnail> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String
-
The URL for the thumbnail image.
no setterinherited
- version → ThumbnailVersion
-
Links to scaled resolution images, for high DPI screens.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited