deleteOfflineRegion method

Future<void> deleteOfflineRegion(
  1. int regionId
)

Deletes the offline region regionId from the runtime's cache file.

See mln_runtime_delete_offline_region in the C API reference.

Errors:

  • Status.notFound when the cache file has no region regionId.

Implementation

Future<void> deleteOfflineRegion(int regionId) => _run(
  (arena, completion) => raw.mln_runtime_delete_offline_region(
    _handle.raw,
    regionId,
    completion,
    nativeDiagnostic,
  ),
);