EmbedExternalViewGalleryViewerState constructor
const
EmbedExternalViewGalleryViewerState({
- @Default.new('app.bsky.embed.external#viewGalleryViewerState') String $type,
- @AtUriConverter.new() AtUri? like,
- @ProfileViewBasicConverter() List<
ProfileViewBasic> ? knownLikers, - int? knownLikerCount,
- Map<
String, dynamic> ? $unknown,
Implementation
@JsonSerializable(includeIfNull: false)
const factory EmbedExternalViewGalleryViewerState({
@Default('app.bsky.embed.external#viewGalleryViewerState') String $type,
/// The requesting account's social.grain.favorite record for this gallery, if favorited.
@AtUriConverter() AtUri? like,
@ProfileViewBasicConverter() List<ProfileViewBasic>? knownLikers,
/// Total number of accounts the requesting account follows that favorited the subject, including those in knownLikers.
int? knownLikerCount,
Map<String, dynamic>? $unknown,
}) = _EmbedExternalViewGalleryViewerState;