provideTextDocumentContent property

FutureOr<String> Function(Uri, CancellationToken) get provideTextDocumentContent

Implementation

_i4.FutureOr<_i2.String> Function(
  _i3.Uri,
  _i3.CancellationToken,
) get provideTextDocumentContent => (
      _i3.Uri p0,
      _i3.CancellationToken p1,
    ) =>
        _i5.callMethod(
          _i5.getProperty(
            this,
            'provideTextDocumentContent',
          ),
          r'call',
          [
            this,
            p0,
            p1,
          ],
        );
set provideTextDocumentContent (FutureOr<String> value(Uri, CancellationToken))

Implementation

set provideTextDocumentContent(
    _i4.FutureOr<_i2.String> Function(
      _i3.Uri,
      _i3.CancellationToken,
    ) value) {
  _i5.setProperty(
    this,
    'provideTextDocumentContent',
    _i5.allowInterop((
      p0,
      p1,
    ) =>
        _i6.Promise.futureOr(() => value(
              p0,
              p1,
            ))),
  );
}