dispose abstract method

void dispose()

Releases any native resources held by this model.

Called by the consuming database after all other cleanup. Implementations backed by native libraries (e.g. ONNX Runtime) must release their session handle here. Pure-Dart implementations may leave this as a no-op.

After dispose is called, embed must not be called.

Implementation

void dispose();