selectAll method

bool selectAll()

Selects all visible, unlocked objects on the canvas.

Implementation

bool selectAll() {
  final ids = _objects
      .where(
          (object) => object.id != null && !object.hidden && !object.locked)
      .map((object) => object.id!)
      .toList();
  return selectMany(ids);
}