provideTypeHierarchySupertypes property

FutureOr<List<TypeHierarchyItem>> Function(TypeHierarchyItem, CancellationToken) get provideTypeHierarchySupertypes

Implementation

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

Implementation

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