CreatePostReport constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const CreatePostReport({
  1. required int postId,
  2. required String reason,
  3. required String auth,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const factory CreatePostReport({
  required int postId,
  required String reason,
  required String auth,
}) = _CreatePostReport;