copySelected method

bool copySelected()

Copies the selected object into the controller clipboard.

Implementation

bool copySelected() {
  final selected = selectedObjects;
  if (selected.isEmpty) return false;
  _clipboard = List.unmodifiable(selected);
  return true;
}