PanelDescriptor class
Everything one panel offers.
Constructors
-
PanelDescriptor(String id, String label, {String? description, List<
FeedDescriptor> feeds = const [], List<StateDescriptor> states = const [], List<KnobDescriptor> knobs = const [], List<PluginAction> actions = const []}) -
const
Properties
-
actions
→ List<
PluginAction> -
Commands that run inside the app.
final
- description → String?
-
final
-
feeds
→ List<
FeedDescriptor> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique in the app, and the channel its requests travel on.
final
-
knobs
→ List<
KnobDescriptor> -
Read-write values, carrying what they currently are. A feature flag is
one of these.
final
- label → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
states
→ List<
StateDescriptor> -
final
Methods
-
feedChannel(
String feedId) → String - Where a feed's events live in the core's ring.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, Object?> json) → PanelDescriptor