EmbedExternalViewArticlePublication constructor
const
EmbedExternalViewArticlePublication({
- @Default.new('app.bsky.embed.external#viewArticlePublication') String $type,
- required String uri,
- required String title,
- required String description,
- @JsonKey.new(toJson: iso8601) DateTime? createdAt,
- @JsonKey.new(toJson: iso8601) DateTime? updatedAt,
- @LabelConverter() List<
Label> ? labels, - @RepoStrongRefConverter() List<
RepoStrongRef> ? associatedRefs, - @ProfileViewBasicConverter() List<
ProfileViewBasic> ? associatedProfiles, - String? logo,
- String? image,
- @EmbedExternalViewArticlePublicationThemeConverter() EmbedExternalViewArticlePublicationTheme? theme,
- int? subscriptionCount,
- @ProfileViewBasicConverter() List<
ProfileViewBasic> ? subscribers, - Map<
String, dynamic> ? $unknown,
Implementation
@JsonSerializable(includeIfNull: false)
const factory EmbedExternalViewArticlePublication({
@Default('app.bsky.embed.external#viewArticlePublication') String $type,
required String uri,
required String title,
required String description,
@JsonKey(toJson: iso8601) DateTime? createdAt,
@JsonKey(toJson: iso8601) DateTime? updatedAt,
@LabelConverter() List<Label>? labels,
@RepoStrongRefConverter() List<RepoStrongRef>? associatedRefs,
@ProfileViewBasicConverter() List<ProfileViewBasic>? associatedProfiles,
String? logo,
String? image,
@EmbedExternalViewArticlePublicationThemeConverter()
EmbedExternalViewArticlePublicationTheme? theme,
int? subscriptionCount,
@ProfileViewBasicConverter() List<ProfileViewBasic>? subscribers,
Map<String, dynamic>? $unknown,
}) = _EmbedExternalViewArticlePublication;