copyWith method

OperationCheckResult copyWith({
  1. OperationCheckResultOperation? operation,
  2. String? targetType,
})

Implementation

OperationCheckResult copyWith(
    {OperationCheckResultOperation? operation, String? targetType}) {
  return OperationCheckResult(
    operation: operation ?? this.operation,
    targetType: targetType ?? this.targetType,
  );
}