copyWith method

BulkOperationErrorResult copyWith({
  1. ErrorCollection? elementErrors,
  2. int? failedElementNumber,
  3. int? status,
})

Implementation

BulkOperationErrorResult copyWith(
    {ErrorCollection? elementErrors, int? failedElementNumber, int? status}) {
  return BulkOperationErrorResult(
    elementErrors: elementErrors ?? this.elementErrors,
    failedElementNumber: failedElementNumber ?? this.failedElementNumber,
    status: status ?? this.status,
  );
}