evaluateInitialSeoEditorialWorkflowView function

SeoEditorialWorkflowEvaluation? evaluateInitialSeoEditorialWorkflowView(
  1. SeoEditorialWorkflowViewProjection project,
  2. SeoEditorialWorkflowState state
)

Implementation

SeoEditorialWorkflowEvaluation? evaluateInitialSeoEditorialWorkflowView(
  SeoEditorialWorkflowViewProjection project,
  SeoEditorialWorkflowState state,
) {
  final result = evaluateInitialSeoApplication(
    state: state,
    canonicalizeState: _canonicalSeoEditorialWorkflowState,
    project: project,
    validateView: _validateSeoEditorialWorkflowView,
  );
  if (result == null) return null;
  return SeoEditorialWorkflowEvaluation(
    state: result.state,
    view: result.view,
    accepted: result.accepted,
  );
}