Stop expecting that DartObject.type is ParameterizedType.
Stop expecting that DartObject.type is ParameterizedType.

It is just DartType, specifically because we want to make FunctionType just a DartType.

PiperOrigin-RevId: 376206358

dart-lang/mockito