textToggleChecklistState function

TextLineCommandResult textToggleChecklistState({
  1. required List<String> lines,
  2. required TextLineStateSnapshot state,
  3. String checkedMarker = 'x',
})

Implementation

TextLineCommandResult textToggleChecklistState({
  required List<String> lines,
  required TextLineStateSnapshot state,
  String checkedMarker = 'x',
}) {
  return state.toggleChecklistStateCommand(lines, checkedMarker: checkedMarker);
}