ExternalExternal constructor

  1. @JsonSerializable(includeIfNull: false)
const ExternalExternal({
  1. @Default(appBskyEmbedExternalExternal) @JsonKey(name: r'$type') String $type,
  2. required String uri,
  3. required String title,
  4. required String description,
  5. @BlobConverter() Blob? thumb,
  6. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ExternalExternal({
  /// The unique namespace for this lex object.
  ///
  /// `app.bsky.embed.external#external`
  @Default(appBskyEmbedExternalExternal)
  @JsonKey(name: r'$type')
  String $type,
  required String uri,
  required String title,
  required String description,
  @BlobConverter() Blob? thumb,

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