ManagedDataModelException.noDestinationEntity(ManagedEntity entity, Symbol property)
Source
factory ManagedDataModelException.noDestinationEntity(
ManagedEntity entity, Symbol property) {
var typeMirror = entity.persistentType.instanceMembers[property].returnType;
return new ManagedDataModelException(
"Relationship '${_getName(property)}' on "
"'${_getPersistentClassName(entity)}' expects that there is a subclass "
"of 'ManagedObject' named '${_getName(typeMirror.simpleName)}', "
"but there isn't one. If you have declared one - and you really checked "
"hard for typos - make sure the file it is declared in is imported appropriately.");
}