toPrettyString method
Implementation
String toPrettyString() {
var name = type.name;
if (name.endsWith('Host')) {
name = name.substring(0, name.length - 4);
}
return '$name in ${type.moduleUrl} '
'(changeDetection: ${changeDetection!.name})';
}