allInstancesOfType<TSubsystem extends Subsystem> method

List<TSubsystem> allInstancesOfType<TSubsystem extends Subsystem>()

Retrieves all instantiated subsystems of this type matching TSubsystem.

Implementation

List<TSubsystem> allInstancesOfType<TSubsystem extends Subsystem>() {
  final reg = getRegistry();
  return reg.allInstancesOfType<TSubsystem>();
}