GetComments constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const GetComments({
  1. @JsonKey(name: 'type_') CommentListingType? type,
  2. SortType? sort,
  3. int? page,
  4. int? limit,
  5. int? communityId,
  6. String? communityName,
  7. bool? savedOnly,
  8. String? auth,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const factory GetComments({
  @JsonKey(name: 'type_') CommentListingType? type,
  SortType? sort,
  int? page,
  int? limit,
  int? communityId,
  String? communityName,
  bool? savedOnly,
  String? auth,
}) = _GetComments;