getSelections method
Returns an array containing a string for each selection, representing the content of the selections.
Implementation
Iterable<String> getSelections([String? lineSep]) =>
callArg('getSelections', lineSep)?.cast<String>() ?? [];