DraftEmbedVideo constructor

  1. @JsonSerializable.new(includeIfNull: false)
const DraftEmbedVideo({
  1. @Default.new('app.bsky.draft.defs#draftEmbedVideo') String $type,
  2. @DraftEmbedLocalRefConverter() required DraftEmbedLocalRef localRef,
  3. String? alt,
  4. @DraftEmbedCaptionConverter() List<DraftEmbedCaption>? captions,
  5. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory DraftEmbedVideo({
  @Default('app.bsky.draft.defs#draftEmbedVideo') String $type,
  @DraftEmbedLocalRefConverter() required DraftEmbedLocalRef localRef,
  String? alt,
  @DraftEmbedCaptionConverter() List<DraftEmbedCaption>? captions,

  Map<String, dynamic>? $unknown,
}) = _DraftEmbedVideo;