copyWith method

ContentStateBulkSetTaskUpdate copyWith({
  1. List<String>? set,
  2. List<ContentStateFailure>? failed,
  3. int? percentage,
  4. String? message,
  5. ContentState? state,
  6. bool? success,
})

Implementation

ContentStateBulkSetTaskUpdate copyWith(
    {List<String>? set,
    List<ContentStateFailure>? failed,
    int? percentage,
    String? message,
    ContentState? state,
    bool? success}) {
  return ContentStateBulkSetTaskUpdate(
    set: set ?? this.set,
    failed: failed ?? this.failed,
    percentage: percentage ?? this.percentage,
    message: message ?? this.message,
    state: state ?? this.state,
    success: success ?? this.success,
  );
}