SignatureHelpProvider constructor

SignatureHelpProvider({
  1. FutureOr<SignatureHelp> provideSignatureHelp(
    1. TextDocument,
    2. Position,
    3. CancellationToken,
    4. SignatureHelpContext,
    )?,
})

Implementation

factory SignatureHelpProvider(
        {_i4.FutureOr<_i3.SignatureHelp> Function(
          _i3.TextDocument,
          _i3.Position,
          _i3.CancellationToken,
          _i3.SignatureHelpContext,
        )? provideSignatureHelp}) =>
    SignatureHelpProvider._(
        provideSignatureHelp: provideSignatureHelp == null
            ? null
            : _i5.allowInterop((
                p0,
                p1,
                p2,
                p3,
              ) =>
                _i6.Promise.futureOr(() => provideSignatureHelp(
                      p0,
                      p1,
                      p2,
                      p3,
                    ))));