ExternalView constructor
- @JsonSerializable(includeIfNull: false)
- @Default(appBskyEmbedExternalView) @JsonKey(name: r'$type') String $type,
- @ExternalViewExternalConverter() required ExternalViewExternal external,
- @JsonKey(name: r'$unknown') Map<
String, dynamic> ? $unknown,
Implementation
@JsonSerializable(includeIfNull: false)
const factory ExternalView({
/// The unique namespace for this lex object.
///
/// `app.bsky.embed.external#view`
@Default(appBskyEmbedExternalView) @JsonKey(name: r'$type') String $type,
@ExternalViewExternalConverter() required ExternalViewExternal external,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _ExternalView;