pub unsafe fn new_persistent_handle(
object: Dart_Handle,
) -> Dart_PersistentHandleExpand description
Allocates a Dart_PersistentHandle for provided Dart_Handle.
Dart_PersistentHandles have the lifetime of the current isolate
unless they are explicitly deallocated.
ยงSafety
initialize_api must be called before this function.