forEachComponent method

void forEachComponent(
  1. void callback(
    1. Component
    )
)

Iterate each component and call callback for it.

Implementation

void forEachComponent(void Function(Component) callback) =>
    _components.forEach(callback);