contains method
Whether the children list contains the given component.
This method uses reference equality.
Implementation
bool contains(Component c) => _children?.contains(c) ?? false;
Whether the children list contains the given component.
This method uses reference equality.
bool contains(Component c) => _children?.contains(c) ?? false;