ToolCapability class final
A tool family's host-side capability: whether the current platform/wiring can actually provide the tool at all.
Capability is the hard floor: absent tools stay disabled no matter what configuration asks for.
Constructors
- ToolCapability.absent(String reason)
-
The host cannot provide this tool;
reasonexplains why.const - ToolCapability.available()
-
The host wires this tool up.
const
Properties
- absentReason → String?
-
Machine-readable why-not, when present is false.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- present → bool
-
Whether the host can provide this tool.
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