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