revokeBlobUrl method

void revokeBlobUrl(
  1. String blobUrl
)

Revokes a blob URL to free memory.

Should be called when the model is closed or replaced.

Implementation

void revokeBlobUrl(String blobUrl) {
  try {
    _revokeBlobUrlJs(blobUrl.toJS);
  } catch (e) {
    // Ignore errors during cleanup
    debugPrint('Warning: Failed to revoke blob URL: $e');
  }
}