addSystem abstract method

AppBuilder addSystem(
  1. SystemDescriptor descriptor, {
  2. required ScheduleLabel schedule,
  3. List<SystemDescriptor> after,
  4. List<SystemDescriptor> before,
  5. RunCondition? runIf,
  6. SystemSet? inSet,
})

Registers descriptor in schedule.

runIf can skip a run. inSet places the system in a SystemSet.

Implementation

AppBuilder addSystem(
  SystemDescriptor descriptor, {
  required ScheduleLabel schedule,
  List<SystemDescriptor> after,
  List<SystemDescriptor> before,
  RunCondition? runIf,
  SystemSet? inSet,
});