getCacheSize static method
Implementation
static Future<int> getCacheSize({List<NIMDirCacheFileType>? fileType}) async {
var res = await NimCore.instance.settingsService
.getSizeOfDirCache(fileType ?? defaultSDKFileType, 0, 0);
if (res.isSuccess) {
return res.data!;
}
return 0;
}