SearchActorsSkeletonOutput constructor

  1. @JsonSerializable(includeIfNull: false)
const SearchActorsSkeletonOutput({
  1. String? cursor,
  2. @Default(0) int hitsTotal,
  3. @SkeletonSearchActorConverter() required List<SkeletonSearchActor> actors,
  4. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory SearchActorsSkeletonOutput({
  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,
  @SkeletonSearchActorConverter() required List<SkeletonSearchActor> actors,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _SearchActorsSkeletonOutput;