discontinuedPackage flutter_gemma has been discontinued and replaced by flutter_edge_ai.

cleanupAll method

void cleanupAll()

Cleans up all blob URLs.

Should be called on plugin disposal or app termination.

Implementation

void cleanupAll() {
  for (final blobUrl in _activeBlobUrls.values) {
    _jsInterop.revokeBlobUrl(blobUrl);
  }
  _activeBlobUrls.clear();
}