InlineCompletionContext constructor

InlineCompletionContext({
  1. InlineCompletionTriggerKind? triggerKind,
  2. SelectedCompletionInfo? selectedCompletionInfo,
})

Implementation

factory InlineCompletionContext({
  _i3.InlineCompletionTriggerKind? triggerKind,
  _i3.SelectedCompletionInfo? selectedCompletionInfo,
}) =>
    InlineCompletionContext._(
      triggerKind: triggerKind?.name,
      selectedCompletionInfo: selectedCompletionInfo ?? _i6.undefined,
    );