transformSelectionOrLineDocumentCommand method
TextCommandResult
transformSelectionOrLineDocumentCommand(
- TextDocument document, {
- required String transform(
- String text
Implementation
TextCommandResult transformSelectionOrLineDocumentCommand(
TextDocument document, {
required String Function(String text) transform,
}) {
return textTransformSelectionOrLine(
document: document,
state: this,
transform: transform,
);
}