SignalDescriptor class

Visual descriptor for a tracked reactive signal displayed in DevTools.

Contains the signal name/label, current value, update count, and runtime type.

Example:

final desc = SignalDescriptor(
  name: 'counter',
  currentValue: 42,
  updateCount: 5,
  valueType: int,
);

Constructors

SignalDescriptor({required String name, required dynamic currentValue, required int updateCount, required Type valueType})
Creates a SignalDescriptor.

Properties

currentValue → dynamic
Current evaluated signal value.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
Debug label or signal name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updateCount → int
Total count of value update notifications observed.
final
valueType → Type
Runtime type of the signal value.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serializes descriptor to a JSON map.
toString() → String
A string representation of this object.
inherited

Operators

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