SDKCacheCallback typedef

SDKCacheCallback = void Function(MapLoaderError? maploaderError)

A method which is called on the main thread when SDKCache.clearAppCache has been completed.

  • maploaderError Represents an error in case of a failure. It is null for an operation that succeeds. Please note, in case of failure, only MapLoaderError.internalError error returned for now.

Implementation

typedef SDKCacheCallback = void Function(MapLoaderError? maploaderError);