deleteStorage static method

Future<StorageDeleteResult> deleteStorage(
  1. StorageDeleteRequest request
)

Execute a generated-proto storage delete request.

Mirrors Swift RunAnywhere.deleteStorage(_:); callers choose the typed policy flags (deleteFiles, clearRegistryPaths, unloadIfLoaded, allowPlatformDelete) while commons owns the actual plan/execution.

Implementation

static Future<StorageDeleteResult> deleteStorage(
  StorageDeleteRequest request,
) async {
  if (!DartBridge.isInitialized) {
    throw SDKException.notInitialized();
  }
  return DartBridgeStorage.instance.deleteProto(request);
}