MetaStories.user constructor

MetaStories.user(
  1. String package,
  2. String path,
  3. List<String> storiesNames,
  4. Map<String, dynamic> dynamicStoriesMap,
)

Implementation

MetaStories.user(
  String package,
  String path,
  List<String> storiesNames,
  Map<String, dynamic> dynamicStoriesMap,
)   : storiesMap = dynamicStoriesMap.map((key, value) =>
          MapEntry(key, value is StoryFunction ? value : null)),
      super(package: package, path: path, storiesNames: storiesNames);