resolveToBound method

DartType resolveToBound (DartType objectType)

If this type is a TypeParameterType, returns its bound if it has one, or objectType otherwise.

For any other type, returns this. Applies recursively -- if the bound is itself a type parameter, that is resolved too.

Implementation

DartType resolveToBound(DartType objectType);