CompletionItem constructor

CompletionItem(
  1. Object label, [
  2. CompletionItemKind? kind
])

Implementation

factory CompletionItem(
  _i2.Object label, [
  _i3.CompletionItemKind? kind,
]) =>
    _i5.callConstructor(
      _declaredCompletionItem,
      [
        label,
        kind?.name ?? _i6.undefined,
      ],
    );