DeletedRegionsCallback typedef
A method which is called on the main thread when MapDownloader.deleteRegions has been completed.
-
maploaderErrorRepresents an error in case of a failure. It is [null] for an operation that succeeds. -
regionsRepresents a list of successfully removed map regions. It is [null] in case of an error.
Implementation
typedef DeletedRegionsCallback = void Function(MapLoaderError? maploaderError, List<RegionId>? regions);