EmbedVideo constructor

  1. @jsonSerializable
const EmbedVideo({
  1. @typeKey @Default(appBskyEmbedVideo) String type,
  2. @BlobConverter() required Blob video,
  3. @Default([]) List<EmbedVideoCaption>? captions,
  4. String? alt,
  5. AspectRatio? aspectRatio,
})

Implementation

@jsonSerializable
const factory EmbedVideo({
  @typeKey @Default(appBskyEmbedVideo) String type,
  @BlobConverter() required Blob video,
  @Default([]) List<EmbedVideoCaption>? captions,
  String? alt,
  AspectRatio? aspectRatio,
}) = _EmbedVideo;