reset method
void
reset()
Resets this store synchronously
Deletes all files within the StoreAccess.tiles directory, and invalidates any cached statistics (StoreStats.invalidateCachedStatisticsAsync). Therefore, custom metadata (StoreMetadata
) is not deleted.
Implementation
void reset() {
_access.tiles.listSync().forEach((e) => e.deleteSync());
_storeDirectory.stats.invalidateCachedStatistics(statTypes: null);
}