FeedDescriptor class

An append-only stream of events — requests, queries, log lines.

The events themselves do not travel with this: they are already in the core's ring, on PanelDescriptor.feedChannel, with replay and lazy detail fetch for free. This says only how to read them.

Constructors

FeedDescriptor(String id, String label, {String? description, List<FieldDescriptor> fields = const [], String? durationKey, List<PluginAction> itemActions = const []})
const

Properties

description → String?
final
durationKey → String?
The payload key holding a duration in milliseconds, when the feed has one — what a waterfall measures.
final
fields → List<FieldDescriptor>
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Unique within its panel.
final
itemActions → List<PluginAction>
Offered on one event rather than on the feed. The event's id is passed as event, so a handler can reach the details the ring is holding for it — which is how explain runs against the query the user clicked.
final
label → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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) → FeedDescriptor