transformWordOrAdjacentDocumentCommand method

TextCommandResult transformWordOrAdjacentDocumentCommand(
  1. TextDocument document, {
  2. required String transform(
    1. String text
    ),
})

Implementation

TextCommandResult transformWordOrAdjacentDocumentCommand(
  TextDocument document, {
  required String Function(String text) transform,
}) {
  return textTransformWordOrAdjacent(
    document: document,
    state: this,
    transform: transform,
  );
}