FeedViewPref constructor

  1. @JsonSerializable(includeIfNull: false)
const FeedViewPref({
  1. @Default('app.bsky.actor.defs#feedViewPref') String $type,
  2. required String feed,
  3. bool? hideReplies,
  4. @Default(true) bool hideRepliesByUnfollowed,
  5. int? hideRepliesByLikeCount,
  6. bool? hideReposts,
  7. bool? hideQuotePosts,
  8. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory FeedViewPref({
  @Default('app.bsky.actor.defs#feedViewPref') String $type,

  /// The URI of the feed, or an identifier which describes the feed.
  required String feed,

  /// Hide replies in the feed.
  bool? hideReplies,

  /// Hide replies in the feed if they are not by followed users.
  @Default(true) bool hideRepliesByUnfollowed,

  /// Hide replies in the feed if they do not have this number of likes.
  int? hideRepliesByLikeCount,

  /// Hide reposts in the feed.
  bool? hideReposts,

  /// Hide quote posts in the feed.
  bool? hideQuotePosts,

  Map<String, dynamic>? $unknown,
}) = _FeedViewPref;