CompletionItemLabel class

A structured label for a {@link CompletionItemcompletion item}.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

CompletionItemLabel({String? label, String? detail, String? description})
factory

Properties

description String?

Available on CompletionItemLabel, provided by the CompletionItemLabel$Typings extension

An optional string which is rendered less prominently after {@link CompletionItemLabel.detail}. Should be used for fully qualified names or file path.
getter/setter pair
detail String?

Available on CompletionItemLabel, provided by the CompletionItemLabel$Typings extension

An optional string which is rendered less prominently directly after {@link CompletionItemLabel.label label}, without any spacing. Should be used for function signatures or type annotations.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
label String

Available on CompletionItemLabel, provided by the CompletionItemLabel$Typings extension

The label of this completion item.
getter/setter pair
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