ImplementationProvider constructor

ImplementationProvider({
  1. FutureOr<Object> provideImplementation(
    1. TextDocument,
    2. Position,
    3. CancellationToken
    )?,
})

Implementation

factory ImplementationProvider(
        {_i4.FutureOr<_i2.Object> Function(
          _i3.TextDocument,
          _i3.Position,
          _i3.CancellationToken,
        )? provideImplementation}) =>
    ImplementationProvider._(
        provideImplementation: provideImplementation == null
            ? null
            : _i5.allowInterop((
                p0,
                p1,
                p2,
              ) =>
                _i6.Promise.futureOr(() => provideImplementation(
                      p0,
                      p1,
                      p2,
                    ))));