MetaStories class

Constructors

MetaStories(String package, String path, List<String> storiesNames, Map<String, StoryFunction?> storiesMap)
MetaStories.user(String package, String path, List<String> storiesNames, Map<String, dynamic> dynamicStoriesMap)

Properties

hashCode int
The hash code for this object.
no setterinherited
package String
Name of the user project or package
finalinherited
path String
Path to the _stories.dart file the user authored
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storiesMap Map<String, StoryFunction?>
Maps story name to its function
final
storiesNames List<String>
List of story names in the stories file
finalinherited

Methods

copyWith({List<String>? storiesNames}) → MetaStoriesDefinition
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited