AddonConfig<T> class

A configuration entry for a WidgetbookAddon.

Implementers
Annotations
  • @optionalTypeArgs

Constructors

AddonConfig(String key, T value)
Creates a new AddonConfig using a key and a value.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
key → String
They key of the entry must match the name of the addon in kebab-case.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → T
The value of the entry must be a query string that can be parsed by the addon. The easiest way to get the value is to use the URL query string of a Widgetbook web build.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMapEntry() → MapEntry<String, T>
toString() → String
A string representation of this object.
inherited

Operators

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