free method

  1. @override
void free(
  1. Pointer<NativeType> pointer
)
override

Releases memory allocated on the native heap.

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

Implementation

@override
void free(ffi.Pointer<ffi.NativeType> pointer) {
  thermion_flutter_web_free(pointer.cast<ffi.Void>());
}