RemovePost constructor

  1. @JsonSerializable.new(includeIfNull: false)
const RemovePost({
  1. @JsonKey.new(name: 'post_id') required int postId,
  2. required bool removed,
  3. String? reason,
  4. required String auth,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RemovePost({@JsonKey(name: 'post_id') required int postId, required bool removed, String? reason, required String auth}) = _RemovePost;