CreatePostLike constructor

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

Implementation

@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const factory CreatePostLike({
  required int postId,
  required VoteType score,
  required String auth,
}) = _CreatePostLike;