update<T> method

void update<T>(
  1. String label,
  2. T value
)

Implementation

void update<T>(String label, T value) {
  final story = _storyNotifier.currentStory;
  if (story == null) return;

  _knobs[story.name]![label]!.value = value;
  notifyListeners();
}