GetPost constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const GetPost({
  1. required int id,
  2. String? auth,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const factory GetPost({
  required int id,
  String? auth,
}) = _GetPost;