EditPost constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const EditPost({
  1. required int postId,
  2. String? name,
  3. String? url,
  4. String? body,
  5. bool? nsfw,
  6. required String auth,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const factory EditPost({
  required int postId,
  String? name,
  String? url,
  String? body,
  bool? nsfw,
  required String auth,
}) = _EditPost;