ListPostReports constructor

  1. @JsonSerializable.new(includeIfNull: false)
const ListPostReports({
  1. @JsonKey.new(name: 'community_id') int? communityId,
  2. int? limit,
  3. int? page,
  4. @JsonKey.new(name: 'post_id') int? postId,
  5. @JsonKey.new(name: 'unresolved_only') bool? unresolvedOnly,
  6. required String auth,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ListPostReports({
  @JsonKey(name: 'community_id') int? communityId,
  int? limit,
  int? page,
  @JsonKey(name: 'post_id') int? postId,
  @JsonKey(name: 'unresolved_only') bool? unresolvedOnly,
  required String auth,
}) = _ListPostReports;