CreateComment constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const CreateComment({
  1. required String content,
  2. int? parentId,
  3. required int postId,
  4. String? formId,
  5. required String auth,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const factory CreateComment({
  required String content,
  int? parentId,
  required int postId,
  String? formId,
  required String auth,
}) = _CreateComment;