TypeHierarchy class

represents the type hierarchy of the public API of a package

Constructors

TypeHierarchy.empty()
creates an empty type hierarchy
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

isCompatibleReplacement({required TypeIdentifier oldTypeIdentifier, required TypeIdentifier newTypeIdentifier, required bool isTypePassedIn}) bool
checks if newTypeIdentifier is a compatible replacement for oldTypeIdentifier
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerType(TypeIdentifier typeIdentifier, Set<TypeIdentifier> baseTypeIdentifiers) → void
registers the given typeIdentifier with the given baseTypeIdentifiers
toString() String
A string representation of this object.
inherited

Operators

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