releaseCache static method
Release native caches, there are no common use case for this method, so this method is not recommended.
The main purpose is to help with issues when the memory usage is too large with too many pictures.
After this method is called, all existing AssetEntity and AssetPathEntity are not able to call further methods. In order to obtain new instances and their data, call the getAssetPathList to start again.
Make sure callers of this method have await
ed properly.
Implementation
static Future<void> releaseCache() => plugin.releaseCache();