OnTypeFormattingEditProvider constructor
Implementation
factory OnTypeFormattingEditProvider(
{_i4.FutureOr<_i2.List<_i3.TextEdit>> Function(
_i3.TextDocument,
_i3.Position,
_i2.String,
_i3.FormattingOptions,
_i3.CancellationToken,
)? provideOnTypeFormattingEdits}) =>
OnTypeFormattingEditProvider._(
provideOnTypeFormattingEdits: provideOnTypeFormattingEdits == null
? null
: _i5.allowInterop((
p0,
p1,
p2,
p3,
p4,
) =>
_i6.Promise.futureOr(() => provideOnTypeFormattingEdits(
p0,
p1,
p2,
p3,
p4,
))));