startDragging method

void startDragging(
  1. List<String> objectIds
)

Start drag optimization mode for specified objects. During drag, spatial index is not updated. Call endDragging to rebuild.

Implementation

void startDragging(List<String> objectIds) {
  if (!_isDragging && objectIds.isNotEmpty) {
    _isDragging = true;
    _draggingObjectIds = objectIds.toSet();
  }
}