FeedViewPref constructor
- @JsonSerializable(includeIfNull: false)
const
FeedViewPref(
{ - @Default('app.bsky.actor.defs#feedViewPref') String $type,
- required String feed,
- bool? hideReplies,
- @Default(true) bool hideRepliesByUnfollowed,
- int? hideRepliesByLikeCount,
- bool? hideReposts,
- bool? hideQuotePosts,
- 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;