QuickDiffProvider constructor

QuickDiffProvider({
  1. FutureOr<Uri> provideOriginalResource(
    1. Uri,
    2. CancellationToken
    )?,
})

Implementation

factory QuickDiffProvider(
        {_i4.FutureOr<_i3.Uri> Function(
          _i3.Uri,
          _i3.CancellationToken,
        )? provideOriginalResource}) =>
    QuickDiffProvider._(
        provideOriginalResource: provideOriginalResource == null
            ? null
            : _i5.allowInterop((
                p0,
                p1,
              ) =>
                _i6.Promise.futureOr(() => provideOriginalResource(
                      p0,
                      p1,
                    ))));