resolveToBound abstract method

DartType resolveToBound(
  1. DartType type
)

Return the result of resolving the bounds of the given type.

For the Dart 2.0 type system, the definition of resolving to bounds is defined by the following. If the given type is a TypeParameterType and it has a bound, return the result of resolving its bound (as per this method). If the type is a TypeParameterType and it does not have a bound, return the type Object. For any other type, return the given type.

Other type systems may define this operation differently.

Implementation

DartType resolveToBound(DartType type);