Selection.collapse constructor
Create a collapsed selection with position
.
Implementation
@Deprecated('use Selection.collapsed() instead')
Selection.collapse(Path path, int offset)
: start = Position(path: path, offset: offset),
end = Position(path: path, offset: offset);