isCollapsed property

bool get isCollapsed

Whether begin and end are the same position.

Implementation

bool get isCollapsed {
  return begin.isEqual(end);
}