removeComponent method Null safety

void removeComponent(
  1. Component component
)

Remove a component from the artboard and its various tracked lists of components.

Implementation

void removeComponent(Component component) {
  _components.remove(component);
}