initialSeoChecklistWorkflowState function

SeoChecklistWorkflowState? initialSeoChecklistWorkflowState({
  1. required int itemCount,
  2. Iterable<int> checkedIndexes = const [],
})

Implementation

SeoChecklistWorkflowState? initialSeoChecklistWorkflowState({
  required int itemCount,
  Iterable<int> checkedIndexes = const [],
}) {
  final checklist = initialSeoApprovalChecklistState(
    itemCount: itemCount,
    checkedIndexes: checkedIndexes,
  );
  return checklist == null
      ? null
      : SeoChecklistWorkflowState(
          checklist: checklist,
          workflow: initialSeoEditorialWorkflowState,
        );
}