EmbedExternalViewExternalSourceTheme constructor
const
EmbedExternalViewExternalSourceTheme({
- @Default.new('app.bsky.embed.external#viewExternalSourceTheme') String $type,
- @EmbedExternalColorRGBConverter() EmbedExternalColorRGB? backgroundRGB,
- @EmbedExternalColorRGBConverter() EmbedExternalColorRGB? foregroundRGB,
- @EmbedExternalColorRGBConverter() EmbedExternalColorRGB? accentRGB,
- @EmbedExternalColorRGBConverter() EmbedExternalColorRGB? accentForegroundRGB,
- Map<
String, dynamic> ? $unknown,
Implementation
@JsonSerializable(includeIfNull: false)
const factory EmbedExternalViewExternalSourceTheme({
@Default('app.bsky.embed.external#viewExternalSourceTheme') String $type,
@EmbedExternalColorRGBConverter() EmbedExternalColorRGB? backgroundRGB,
@EmbedExternalColorRGBConverter() EmbedExternalColorRGB? foregroundRGB,
@EmbedExternalColorRGBConverter() EmbedExternalColorRGB? accentRGB,
@EmbedExternalColorRGBConverter()
EmbedExternalColorRGB? accentForegroundRGB,
Map<String, dynamic>? $unknown,
}) = _EmbedExternalViewExternalSourceTheme;