provideTypeHierarchySubtypes property

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

Implementation

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

Implementation

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