TypeInferenceSession class

Contains all information associated to a single type inference pass.

Constructors

TypeInferenceSession(AnalysisContext context, [EngineOptions? options])

Properties

context → AnalysisContext
final
graph → TypeGraph
final
hashCode → int
The hash code for this object.
no setterinherited
options → EngineOptions
final
results ↔ TypeInferenceResults?
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
typeOf(Typeable t) → ResolvedType?
Returns the inferred type of t, or null if it couldn't be inferred.
typeOfVariable(int index) → ResolvedType?

Operators

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