free method Null safety

void free(
  1. Pointer<NativeType> pointer
)

Releases memory allocated on the native heap.

Throws an ArgumentError if the memory pointed to by pointer cannot be freed.

Implementation

void free(Pointer pointer);