getOfflineRegion method
- int regionId
Reads the offline region regionId.
The result is null when the cache file has no region with that ID.
See mln_runtime_get_offline_region in the
C API reference.
Implementation
Future<OfflineRegionInfo?> getOfflineRegion(int regionId) => _queryOptional(
_resultOfflineRegionInfo,
(arena, completion) => raw.mln_runtime_get_offline_region(
_handle.raw,
regionId,
completion,
nativeDiagnostic,
),
);