charPtr property

Pointer<Char> get charPtr

Converts the content type to a Pointer<Char>.

Implementation

Pointer<Char> get charPtr =>
    value.toNativeUtf8(allocator: allocate) as Pointer<Char>;