WidgetbookStoryData class
Contains the data of a Story
- Inheritance
- 
    - Object
- WidgetbookData
- WidgetbookStoryData
 
Constructors
- 
          WidgetbookStoryData({required String name, required String importStatement, required String typeDefinition, required List<String> dependencies, required String storyName, required String widgetName})
- Creates a new instance of WidgetbookStoryData
- 
          WidgetbookStoryData.fromMap(Map<String, dynamic> map)
- 
          transforms the serializable map into a WidgetbookStoryData object.
            factory
- WidgetbookStoryData.fromResolver(Element element, Element typeElement, String storyName, String widgetName)
- 
          Obtains a WidgetbookStoryData object from classes provided by the
StoryResolver
            factory
Properties
- 
  dependencies
  → List<String> 
- 
  The import statements defined by the file in which the annotation is used.
  finalinherited
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- importStatement → String
- 
  The import statement necessary to reference this type or function in the
final output file
  finalinherited
- name → String
- 
  The name of the annotated element
  finalinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- storyName → String
- 
  The name of the story.
This name will be displayed in the navigation panel of the Widgetbook
user interface
  final
- typeDefinition → String
- 
  
  final
- widgetName → String
- 
  The String version of the Widget's type
widgetName will be displayed as a WidgetElement in the Widgetbook.
  final
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toMap() → Map< String, dynamic> 
- 
  Maps this object into a serializable format
  override
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited