isNotAnAmbiguousType static method
Implementation
static void isNotAnAmbiguousType(Type type, String paramName) {
if (Types.isAmbiguousType(type)) {
final message = '${StringResources.typeIsAmbiguous(type)}\n'
'Parameter name: $paramName';
throw ArgumentError(message);
}
}