clone<K extends Core<CoreContext> > method
Null safety
inherited
Make a duplicate of this core object, N.B. that all properties including id's are copied.
Implementation
K? clone<K extends Core>() {
var object = context.makeCoreInstance(coreType);
object?.copy(this);
return object is K ? object : null;
}