getStats method
Returns statistics about the cache.
Useful for monitoring and debugging.
Implementation
Map<String, dynamic> getStats() {
return {
'size': size,
'totalKeys': _storageBox.length,
'boxName': _storageBox.name,
'isOpen': _storageBox.isOpen,
'path': _storageBox.path,
};
}