onControllersChanged method

void onControllersChanged(
  1. List<ControllerVariable> controllers
)

Implementation

void onControllersChanged(List<ControllerVariable> controllers) {
  emit(state.copyWith(
      controllers:
          Map.fromEntries(controllers.map((v) => MapEntry(v.id, v)))));
}