EmbedExternalViewArticlePublicationTheme constructor

const EmbedExternalViewArticlePublicationTheme({
  1. @Default.new('app.bsky.embed.external#viewArticlePublicationTheme') String $type,
  2. String? background,
  3. String? foreground,
  4. String? accent,
  5. String? accentForeground,
  6. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory EmbedExternalViewArticlePublicationTheme({
  @Default('app.bsky.embed.external#viewArticlePublicationTheme')
  String $type,

  /// Hex color string, if available. Example: '#ffffff'.
  String? background,

  /// Hex color string, if available. Example: '#ffffff'.
  String? foreground,

  /// Hex color string, if available. Example: '#ffffff'.
  String? accent,

  /// Hex color string, if available. Example: '#ffffff'.
  String? accentForeground,

  Map<String, dynamic>? $unknown,
}) = _EmbedExternalViewArticlePublicationTheme;