TypeHierarchyProvider class

The type hierarchy provider interface describes the contract between extensions and the type hierarchy feature.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

TypeHierarchyProvider({FutureOr<Object> prepareTypeHierarchy(TextDocument, Position, CancellationToken)?, FutureOr<List<TypeHierarchyItem>> provideTypeHierarchySupertypes(TypeHierarchyItem, CancellationToken)?, FutureOr<List<TypeHierarchyItem>> provideTypeHierarchySubtypes(TypeHierarchyItem, CancellationToken)?})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
prepareTypeHierarchy FutureOr<Object> Function(TextDocument, Position, CancellationToken)

Available on TypeHierarchyProvider, provided by the TypeHierarchyProvider$Typings extension

getter/setter pair
provideTypeHierarchySubtypes FutureOr<List<TypeHierarchyItem>> Function(TypeHierarchyItem, CancellationToken)

Available on TypeHierarchyProvider, provided by the TypeHierarchyProvider$Typings extension

getter/setter pair
provideTypeHierarchySupertypes FutureOr<List<TypeHierarchyItem>> Function(TypeHierarchyItem, CancellationToken)

Available on TypeHierarchyProvider, provided by the TypeHierarchyProvider$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited