updateStoryKnobValue<T> method
Implementation
void updateStoryKnobValue<T>(
String storyKey, {
required String knobKey,
required T newValue,
}) {
final updatedKnob = _value[storyKey]![knobKey]!.copyWithValue(
value: newValue,
);
_value = Map.of(_value)..[storyKey]![knobKey] = updatedKnob;
notifyListeners();
}