ViewerState constructor
- @JsonSerializable(includeIfNull: false)
const
ViewerState(
{ - @Default('app.bsky.feed.defs#viewerState') String $type,
- @AtUriConverter() AtUri? repost,
- @AtUriConverter() AtUri? like,
- bool? bookmarked,
- bool? threadMuted,
- bool? replyDisabled,
- bool? embeddingDisabled,
- bool? pinned,
- Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ViewerState({
@Default('app.bsky.feed.defs#viewerState') String $type,
@AtUriConverter() AtUri? repost,
@AtUriConverter() AtUri? like,
bool? bookmarked,
bool? threadMuted,
bool? replyDisabled,
bool? embeddingDisabled,
bool? pinned,
Map<String, dynamic>? $unknown,
}) = _ViewerState;