UnspeccedGetPostThreadV2Output constructor

  1. @JsonSerializable(includeIfNull: false)
const UnspeccedGetPostThreadV2Output({
  1. @ThreadItemConverter() required List<ThreadItem> thread,
  2. @ThreadgateViewConverter() ThreadgateView? threadgate,
  3. required bool hasOtherReplies,
  4. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory UnspeccedGetPostThreadV2Output({
  @ThreadItemConverter() required List<ThreadItem> thread,
  @ThreadgateViewConverter() ThreadgateView? threadgate,

  /// Whether this thread has additional replies. If true, a call can be made to the `getPostThreadOtherV2` endpoint to retrieve them.
  required bool hasOtherReplies,

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