copyWith method

Implementation

WorkflowValidationError copyWith(
    {String? code,
    WorkflowElementReference? elementReference,
    WorkflowValidationErrorLevel? level,
    String? message,
    WorkflowValidationErrorType? type}) {
  return WorkflowValidationError(
    code: code ?? this.code,
    elementReference: elementReference ?? this.elementReference,
    level: level ?? this.level,
    message: message ?? this.message,
    type: type ?? this.type,
  );
}