ViewerState constructor

  1. @JsonSerializable(includeIfNull: false)
const ViewerState({
  1. @Default('app.bsky.feed.defs#viewerState') String $type,
  2. @AtUriConverter() AtUri? repost,
  3. @AtUriConverter() AtUri? like,
  4. bool? bookmarked,
  5. bool? threadMuted,
  6. bool? replyDisabled,
  7. bool? embeddingDisabled,
  8. bool? pinned,
  9. 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;