SearchPostsOutput constructor
- @JsonSerializable(includeIfNull: false)
Implementation
@JsonSerializable(includeIfNull: false)
const factory SearchPostsOutput({
String? cursor,
/// Count of search hits. Optional, may be rounded/truncated, and may
/// not be possible to paginate through all hits.
@Default(0) int hitsTotal,
@PostViewConverter() required List<PostView> posts,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _SearchPostsOutput;