TEXT function Null safety

Pointer<Utf16> TEXT(
  1. String string
)

Converts a Dart string to a natively-allocated string.

The user is responsible for disposing its memory, typically by calling free() when it has been used.

Implementation

Pointer<Utf16> TEXT(String string) => string.toNativeUtf16();