pub unsafe fn free_dart_native_string(s: NonNull<c_char>)Expand description
Calls Dart to release memory allocated for the provided native string.
Should be used when Dart cannot release memory in place, e.g. when Rust calls a Dart function returning a native string.
ยงSafety
FREE_DART_NATIVE_STRING function must be registered and the provided
pointer must be a valid native string.