destroy method
void
destroy()
Destroy the native entity now instead of waiting for GC.
Implementation
void destroy() {
if (!_owned) {
throw StateError('Cannot destroy a borrowed NSEntity');
}
entityFinalizer.detach(this);
ns_entity_destroy(_entity);
}