ViewerState constructor
- @JsonSerializable(includeIfNull: false)
const
ViewerState(
{ - @Default(appBskyFeedDefsViewerState) @JsonKey(name: r'$type') String $type,
- @AtUriConverter() AtUri? repost,
- @AtUriConverter() AtUri? like,
- @Default(false) bool threadMuted,
- @Default(false) bool replyDisabled,
- @Default(false) bool embeddingDisabled,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ViewerState({
/// The unique namespace for this lex object.
///
/// `app.bsky.feed.defs#viewerState`
@Default(appBskyFeedDefsViewerState) @JsonKey(name: r'$type') String $type,
@AtUriConverter() AtUri? repost,
@AtUriConverter() AtUri? like,
@Default(false) bool threadMuted,
@Default(false) bool replyDisabled,
@Default(false) bool embeddingDisabled,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _ViewerState;