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
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