CapabilityFloor class sealed

A platform's capability ceiling: the most a profile may declare.

Floors make the narrowing invariant enforceable — a profile state is checked against its floor at construction, so force-enabling a floored capability throws HostProfileViolation instead of wiring something the platform cannot deliver.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
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

Static Methods

fromState(CapabilityState state) → CapabilityFloor
Derives the default floor for a state when no explicit floor is given: the state's own envelope (the profile is its own ceiling).