handle_from_persistent

Function handle_from_persistent 

Source
pub unsafe fn handle_from_persistent(
    object: Dart_PersistentHandle,
) -> Dart_Handle
Expand description

Allocates a Dart_Handle in the current scope from the given Dart_PersistentHandle.

This doesn’t affect the provided Dart_PersistentHandle’s lifetime.

§Safety

initialize_api must be called before this function.