FeedViewPref class

Available extensions
Annotations
  • @freezed

Constructors

FeedViewPref.new({@Default(appBskyActorDefsFeedViewPref) @JsonKey(name: r'$type') String $type, required String feed, @Default(false) bool hideReplies, @Default(true) bool hideRepliesByUnfollowed, @Default(0) int hideRepliesByLikeCount, @Default(false) bool hideReposts, @Default(false) bool hideQuotePosts, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
FeedViewPref.fromJson(Map<String, dynamic> json)
factory

Properties

$type String
The unique namespace for this lex object.
no setterinherited
$unknown Map<String, dynamic>?
Contains unknown objects not defined in Lexicon.
no setterinherited
copyWith → $FeedViewPrefCopyWith<FeedViewPref>
no setterinherited
feed String
The URI of the feed, or an identifier which describes the feed.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasNotUnknown bool

Available on FeedViewPref, provided by the $FeedViewPrefExtension extension

Returns true if this object has not unknown objects, otherwise false.
no setter
hasUnknown bool

Available on FeedViewPref, provided by the $FeedViewPrefExtension extension

Returns true if this object has unknown objects, otherwise false.
no setter
hideQuotePosts bool
Hide quote posts in the feed.
no setterinherited
hideReplies bool
Hide replies in the feed.
no setterinherited
hideRepliesByLikeCount int
Hide replies in the feed if they do not have this number of likes.
no setterinherited
hideRepliesByUnfollowed bool
Hide replies in the feed if they are not by followed users.
no setterinherited
hideReposts bool
Hide reposts in the feed.
no setterinherited
isHideQuotePosts bool

Available on FeedViewPref, provided by the $FeedViewPrefExtension extension

Returns true or false from hideQuotePosts.
no setter
isHideReplies bool

Available on FeedViewPref, provided by the $FeedViewPrefExtension extension

Returns true or false from hideReplies.
no setter
isHideRepliesByUnfollowed bool

Available on FeedViewPref, provided by the $FeedViewPrefExtension extension

Returns true or false from hideRepliesByUnfollowed.
no setter
isHideReposts bool

Available on FeedViewPref, provided by the $FeedViewPrefExtension extension

Returns true or false from hideReposts.
no setter
isNotHideQuotePosts bool

Available on FeedViewPref, provided by the $FeedViewPrefExtension extension

Returns negated true or false from hideQuotePosts.
no setter
isNotHideReplies bool

Available on FeedViewPref, provided by the $FeedViewPrefExtension extension

Returns negated true or false from hideReplies.
no setter
isNotHideRepliesByUnfollowed bool

Available on FeedViewPref, provided by the $FeedViewPrefExtension extension

Returns negated true or false from hideRepliesByUnfollowed.
no setter
isNotHideReposts bool

Available on FeedViewPref, provided by the $FeedViewPrefExtension extension

Returns negated true or false from hideReposts.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited