get<T> method

T get<T>(
  1. String label
)

Implementation

T get<T>(String label) {
  // ignore: avoid-non-null-assertion, having null here is a bug
  final story = _storyNotifier.currentStory!;

  return _knobs[story.name]![label]!.value as T;
}