picked property

bool? get picked

Optional flag indicating if this item is picked initially. This is only honored when using the {@link window.showQuickPick showQuickPick()} API. To do the same thing with the {@link window.createQuickPick createQuickPick()} API, simply set the {@link QuickPick.selectedItems} to the items you want picked initially. (Note: This is only honored when the picker allows multiple selections.)

@see {@link QuickPickOptions.canPickMany}

Note: this property is ignored when {@link QuickPickItem.kind kind} is set to {@link QuickPickItemKind.Separator}

Implementation

_i2.bool? get picked => _i5.getProperty(
      this,
      'picked',
    );
set picked (bool? value)

Implementation

set picked(_i2.bool? value) {
  _i5.setProperty(
    this,
    'picked',
    value ?? _i6.undefined,
  );
}