ManagedDataModelException.invalidType(ManagedEntity entity, Symbol property)

Source

factory ManagedDataModelException.invalidType(
    ManagedEntity entity, Symbol property) {
  return new ManagedDataModelException("Property '${_getName(property)}' on "
      "'${_getPersistentClassName(entity)}'"
      " has an unsupported type. Must be "
      "${ManagedPropertyDescription.supportedDartTypes.join(", ")}"
      " or ManagedObject subclass (see also 'ManagedRelationship.deferred'). "
      "If you want to store something "
      "weird in the database, try declaring accessors in the ManagedObject subclass, "
      "and have those set values of the properties in the persistent type that are "
      "supported.");
}