WidgetbookWidgetInstance class
An instance for WidgetElementInstance
- Inheritance
-
- Object
- BaseInstance
- Instance
- WidgetbookWidgetInstance
Constructors
-
WidgetbookWidgetInstance.new({required String name, required List<
WidgetbookStoryData> stories, bool isExpanded = false}) - Creates a new instance of WidgetbookWidgetInstance
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name for the instance.
This is basically the class name of the instance.
finalinherited
-
properties
→ List<
Property> -
The properties which are defined by the instance.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trailingComma → bool
-
Specifies if a trailing comma should be inserted into the code.
This leads to better code formatting.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toCode(
) → String -
Transforms the BaseInstance or its implementation into Code (a String)
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited