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