MarkPostAsRead constructor

  1. @JsonSerializable.new(includeIfNull: false)
const MarkPostAsRead({
  1. @JsonKey.new(name: 'post_id') required int postId,
  2. required bool read,
  3. required String auth,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory MarkPostAsRead({@JsonKey(name: 'post_id') required int postId, required bool read, required String auth}) = _MarkPostAsRead;