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