resolveTreeItem property

FutureOr<TreeItem> Function(TreeItem, T, CancellationToken) get resolveTreeItem

Implementation

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

Implementation

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