resolveDocumentLink property

FutureOr<T> Function(T, CancellationToken) get resolveDocumentLink

Implementation

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

Implementation

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