EmbedExternalViewExternalSource constructor
const
EmbedExternalViewExternalSource({
- @Default.new('app.bsky.embed.external#viewExternalSource') String $type,
- required String uri,
- String? icon,
- required String title,
- String? description,
- @EmbedExternalViewExternalSourceThemeConverter() EmbedExternalViewExternalSourceTheme? theme,
- Map<
String, dynamic> ? $unknown,
Implementation
@JsonSerializable(includeIfNull: false)
const factory EmbedExternalViewExternalSource({
@Default('app.bsky.embed.external#viewExternalSource') String $type,
/// URI of the source, if available. Example: the https:// URL of a site.standard.publication record.
required String uri,
/// Fully-qualified URL where an icon representing the source can be fetched. For example, CDN location provided by the App View.
String? icon,
required String title,
String? description,
@EmbedExternalViewExternalSourceThemeConverter()
EmbedExternalViewExternalSourceTheme? theme,
Map<String, dynamic>? $unknown,
}) = _EmbedExternalViewExternalSource;