ThreadItemPost constructor
- @JsonSerializable(includeIfNull: false)
const
ThreadItemPost(
{ - @Default('app.bsky.unspecced.defs#threadItemPost') String $type,
- @PostViewConverter() required PostView post,
- required bool moreParents,
- required int moreReplies,
- required bool opThread,
- required bool hiddenByThreadgate,
- required bool mutedByViewer,
- Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ThreadItemPost({
@Default('app.bsky.unspecced.defs#threadItemPost') String $type,
@PostViewConverter() required PostView post,
/// This post has more parents that were not present in the response. This is just a boolean, without the number of parents.
required bool moreParents,
/// This post has more replies that were not present in the response. This is a numeric value, which is best-effort and might not be accurate.
required int moreReplies,
/// This post is part of a contiguous thread by the OP from the thread root. Many different OP threads can happen in the same thread.
required bool opThread,
/// The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread.
required bool hiddenByThreadgate,
/// This is by an account muted by the viewer requesting it.
required bool mutedByViewer,
Map<String, dynamic>? $unknown,
}) = _ThreadItemPost;