FeedGetPostThreadInput constructor

const FeedGetPostThreadInput({
  1. @AtUriConverter.new() required AtUri anchor,
  2. @Default.new(50) int limit,
  3. String? cursor,
  4. @Default.new(6) int depth,
  5. @Default.new(80) int parentHeight,
  6. @FeedGetPostThreadSortConverter() FeedGetPostThreadSort? sort,
  7. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory FeedGetPostThreadInput({
  /// Reference (AT-URI) to anchor post record.
  @AtUriConverter() required AtUri anchor,
  @Default(50) int limit,
  String? cursor,

  /// How many levels of reply depth should be included in response.
  @Default(6) int depth,

  /// How many levels of parent (and grandparent, etc) post to include.
  @Default(80) int parentHeight,

  /// Sorting for the thread replies.
  @FeedGetPostThreadSortConverter() FeedGetPostThreadSort? sort,

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