Function dart_string_into_rust
Source pub unsafe fn dart_string_into_rust(dart_string: NonNull<c_char>) -> String
Expand description
Converts the provided C-string received from Dart into a Rust String.
ยงSafety
The provided value must represent a valid C-string (Pointer<Utf8>
allocated on Dart-side).