removeById method
Used to remove component of the interface by id
Implementation
void removeById(int id) {
if (children.isEmpty) {
return;
}
removeWhere(
(component) => component is InterfaceComponent && component.id == id,
);
}
Used to remove component of the interface by id
void removeById(int id) {
if (children.isEmpty) {
return;
}
removeWhere(
(component) => component is InterfaceComponent && component.id == id,
);
}