EmbedImagesImage constructor
- @JsonSerializable.new(includeIfNull: false)
- @Default.new('app.bsky.embed.images#image') String $type,
- @BlobConverter() required Blob image,
- required String alt,
- @AspectRatioConverter() AspectRatio? aspectRatio,
- Map<
String, dynamic> ? $unknown,
Implementation
@JsonSerializable(includeIfNull: false)
const factory EmbedImagesImage({
@Default('app.bsky.embed.images#image') String $type,
/// The raw image file. May be up to 2 MB, formerly limited to 1 MB.
@BlobConverter() required Blob image,
/// Alt text description of the image, for accessibility.
required String alt,
@AspectRatioConverter() AspectRatio? aspectRatio,
Map<String, dynamic>? $unknown,
}) = _EmbedImagesImage;