ImagesViewImage class
- Available extensions
- Annotations
-
- @freezed
Constructors
-
ImagesViewImage.new({@Default(appBskyEmbedImagesViewImage) @JsonKey(name: r'$type') String $type, required String thumb, required String fullsize, required String alt, @AspectRatioConverter() AspectRatio? aspectRatio, @JsonKey(name: r'$unknown') Map<
String, dynamic> ? $unknown}) -
constfactory
-
ImagesViewImage.fromJson(Map<
String, dynamic> json) -
factory
Properties
- $type → String
-
The unique namespace for this lex object.
no setterinherited
-
$unknown
→ Map<
String, dynamic> ? -
Contains unknown objects not defined in Lexicon.
no setterinherited
- alt → String
-
Alt text description of the image, for accessibility.
no setterinherited
- aspectRatio → AspectRatio?
-
no setterinherited
-
copyWith
→ $ImagesViewImageCopyWith<
ImagesViewImage> -
no setterinherited
- fullsize → String
-
Fully-qualified URL where a large version of the image can be
fetched. May or may not be the exact original blob. For example,
CDN location provided by the App View.
no setterinherited
- hasAspectRatio → bool
-
Available on ImagesViewImage, provided by the $ImagesViewImageExtension extension
Returns true ifaspectRatio
is not null, otherwise false.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- hasNotAspectRatio → bool
-
Available on ImagesViewImage, provided by the $ImagesViewImageExtension extension
Returns true ifaspectRatio
is null, otherwise false.no setter - hasNotUnknown → bool
-
Available on ImagesViewImage, provided by the $ImagesViewImageExtension extension
Returns true if this object has not unknown objects, otherwise false.no setter - hasUnknown → bool
-
Available on ImagesViewImage, provided by the $ImagesViewImageExtension extension
Returns true if this object has unknown objects, otherwise false.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thumb → String
-
Fully-qualified URL where a thumbnail of the image can be
fetched. For example, CDN location provided by the App View.
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