removeStorage static method
remove the storage of the MMKV, including the data file & meta file (.crc) Note: the existing instance (if any) will be closed & destroyed
Implementation
static bool removeStorage(String mmapID, {String? rootDir}) {
final mmapIDPtr = mmapID.toNativeUtf8();
final rootDirPtr = _string2Pointer(rootDir);
final ret = _removeStorage(mmapIDPtr, rootDirPtr);
calloc.free(mmapIDPtr);
calloc.free(rootDirPtr);
return _int2Bool(ret);
}