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