CockpitLocatorCandidate class final
Constructors
- CockpitLocatorCandidate({required String kind, required String selector, required int score})
- Creates a CockpitLocatorCandidate.
- CockpitLocatorCandidate.fromJson(Object? value, {String path = r'$'})
-
Decodes a CockpitLocatorCandidate from a JSON object.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- kind → String
-
Locator signal kind:
key,semanticId,text,tooltip, ortype.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score → int
-
Registry precedence score: 4 for
keydown to 0 fortype.final - selector → String
-
Canonical
CockpitSelector.formatoutput for the matched signal.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - Encodes this CockpitLocatorCandidate as a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override