External constructor

  1. @JsonSerializable(includeIfNull: false)
const External({
  1. @Default(appBskyEmbedExternal) @JsonKey(name: r'$type') String $type,
  2. @ExternalExternalConverter() required ExternalExternal external,
  3. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory External({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.embed.external`
  @Default(appBskyEmbedExternal) @JsonKey(name: r'$type') String $type,
  @ExternalExternalConverter() required ExternalExternal external,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _External;