FeedSearchPostsOutput constructor

  1. @JsonSerializable(includeIfNull: false)
const FeedSearchPostsOutput({
  1. String? cursor,
  2. int? hitsTotal,
  3. @PostViewConverter() required List<PostView> posts,
  4. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory FeedSearchPostsOutput({
  String? cursor,

  /// Count of search hits. Optional, may be rounded/truncated, and may not be possible to paginate through all hits.
  int? hitsTotal,
  @PostViewConverter() required List<PostView> posts,

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