PatchbayInspectPolicy class final

Consumer opt-in for the widget inspector select-mode switch.

The switch is off until a consumer constructs one of these and hands it to PatchbayFlutterBridge. Absent it, ui.inspect.* never enters the catalog and an invocation answers commandNotRegistered — the same shape as the semantics action policy and the navigation adapter, so "the App did not open this" and "the App refused this request" stay different answers.

Constructors

PatchbayInspectPolicy({Set<String> gates = const <String>{}, Duration defaultLease = const Duration(minutes: 5), Duration maxLease = const Duration(minutes: 30)})
const

Properties

defaultLease Duration
Lease granted when the request omits ttlMs.
final
gates Set<String>
Consumer gate IDs the descriptor declares and every enable/disable passes.
final
hashCode int
The hash code for this object.
no setterinherited
maxLease Duration
Ceiling the App enforces on a requested ttlMs.
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
toString() String
A string representation of this object.
inherited

Operators

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