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. ImageAspectRatio? aspectRatio,
})

Implementation

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