add method Null safety

  1. @override
void add(
  1. Selectable selectable
)
override

Adds the selectable into the registrar.

A Selectable must register with the SelectionRegistrar in order to receive selection events.

Implementation

@override
void add(Selectable selectable) {
  assert(!selectables.contains(selectable));
  _additions.add(selectable);
  _scheduleSelectableUpdate();
}