getTypeName function
Implementation
String? getTypeName(dynamic value, TypeContext context) {
var typeName = nameOf(value)!;
if (isMinified(typeName)) {
var originalType = context.resolveMinifiedTypeName(typeName);
if (Log.isDebugEnabled()) {
Log.debug(
"getTypeName(): Found minified type $typeName => $originalType");
}
if (originalType != null) {
return originalType;
}
Log.warn(
"getTypeName(): Could not resolve minified type '$typeName', falling back to context.typeName '${context.typeName}'");
return context.typeName;
}
return typeName;
}