SemanticTokensLegend class
A semantic tokens legend contains the needed information to decipher the integer encoded representation of semantic tokens.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
-
SemanticTokensLegend(List<
String> tokenTypes, [List<String> ? tokenModifiers]) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tokenModifiers
→ List<
String> -
Available on SemanticTokensLegend, provided by the SemanticTokensLegend$Typings extension
The possible token modifiers.no setter -
tokenTypes
→ List<
String> -
Available on SemanticTokensLegend, provided by the SemanticTokensLegend$Typings extension
The possible token types.no setter
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