provideOriginalResource property

FutureOr<Uri> Function(Uri, CancellationToken) get provideOriginalResource

Implementation

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

Implementation

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