EmbedVideo constructor
- @JsonSerializable.new(includeIfNull: false)
- @Default.new('app.bsky.embed.video') String $type,
- @BlobConverter() required Blob video,
- @EmbedVideoCaptionConverter() List<
EmbedVideoCaption> ? captions, - String? alt,
- @AspectRatioConverter() AspectRatio? aspectRatio,
- Map<
String, dynamic> ? $unknown,
Implementation
@JsonSerializable(includeIfNull: false)
const factory EmbedVideo({
@Default('app.bsky.embed.video') String $type,
/// The mp4 video file. May be up to 100mb, formerly limited to 50mb.
@BlobConverter() required Blob video,
@EmbedVideoCaptionConverter() List<EmbedVideoCaption>? captions,
/// Alt text description of the video, for accessibility.
String? alt,
@AspectRatioConverter() AspectRatio? aspectRatio,
Map<String, dynamic>? $unknown,
}) = _EmbedVideo;