resolveToBound abstract method

  1. @Deprecated('Use TypeSystem.resolveToBound() instead')
DartType resolveToBound(
  1. 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

@Deprecated('Use TypeSystem.resolveToBound() instead')
DartType resolveToBound(DartType objectType);