KnobReport class

Every knob one entry offers, as of one build of it.

Constructors

KnobReport({required String? entryId, required List<KnobDescriptor> knobs, int declared = 0, int revision = 0})
const
KnobReport.fromJson(Map<String, Object?> json)
factory

Properties

declared → int
How many times knobs have been declared, which changes when a demo's build takes a different path and offers a different set.
final
entryId → String?
Which entry declared these. A report for another entry is a report from before the switch landed, not an empty catalog — the difference matters to a panel deciding whether to show nothing or to ask again.
final
hashCode → int
The hash code for this object.
no setterinherited
knobs → List<KnobDescriptor>
final
revision → int
How many times a value has changed.
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

Constants

empty → const KnobReport