FeedGetCrosspostThreadInput constructor

const FeedGetCrosspostThreadInput({
  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. @FeedGetCrosspostThreadSortConverter() FeedGetCrosspostThreadSort? sort,
  7. Map<String, dynamic>? $unknown,
})

Implementation

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

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

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

  /// Sorting for thread replies.
  @FeedGetCrosspostThreadSortConverter() FeedGetCrosspostThreadSort? sort,

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