onControllerChanged method
Implementation
void onControllerChanged(ControllerVariable controller) {
final controllers = {...state.controllers};
assert(controllers[controller.id] != null);
controllers[controller.id] = controller;
emit(state.copyWith(controllers: {...controllers}));
}