deleteOfflineRegion function

Future<void> deleteOfflineRegion(
  1. int id
)

Deletes the offline region with the given id and the tiles only it uses.

A download of the region still in progress ends with an Error event whose code is REGION_DELETED. Throws a PlatformException with code REGION_NOT_FOUND when no region has that id.

Implementation

Future<void> deleteOfflineRegion(int id) => _global.deleteOfflineRegion(id);