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