FeedViewPost class

Available extensions
Annotations
  • @freezed

Constructors

FeedViewPost.new({@Default(appBskyFeedDefsFeedViewPost) @JsonKey(name: r'$type') String $type, @PostViewConverter() required PostView post, @ReplyRefConverter() ReplyRef? reply, @UFeedViewPostReasonConverter() UFeedViewPostReason? reason, String? feedContext, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
FeedViewPost.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 → $FeedViewPostCopyWith<FeedViewPost>
no setterinherited
feedContext String?
Context provided by feed generator that may be passed back alongside interactions.
no setterinherited
hasFeedContext bool

Available on FeedViewPost, provided by the $FeedViewPostExtension extension

Returns true if feedContext is not null, otherwise false.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasNotFeedContext bool

Available on FeedViewPost, provided by the $FeedViewPostExtension extension

Returns true if feedContext is null, otherwise false.
no setter
hasNotReason bool

Available on FeedViewPost, provided by the $FeedViewPostExtension extension

Returns true if reason is null, otherwise false.
no setter
hasNotReply bool

Available on FeedViewPost, provided by the $FeedViewPostExtension extension

Returns true if reply is null, otherwise false.
no setter
hasNotUnknown bool

Available on FeedViewPost, provided by the $FeedViewPostExtension extension

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

Available on FeedViewPost, provided by the $FeedViewPostExtension extension

Returns true if reason is not null, otherwise false.
no setter
hasReply bool

Available on FeedViewPost, provided by the $FeedViewPostExtension extension

Returns true if reply is not null, otherwise false.
no setter
hasUnknown bool

Available on FeedViewPost, provided by the $FeedViewPostExtension extension

Returns true if this object has unknown objects, otherwise false.
no setter
post PostView
no setterinherited
reason UFeedViewPostReason?
no setterinherited
reply ReplyRef?
no setterinherited
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