utilities library

Classes

Cache<K, V>
A generic cache implementation supporting LFU and LRU eviction algorithms.
CacheEntry<K, V>
Represents an entry in the cache with metadata for eviction algorithms.
CacheStorage<K, V>
Interface for cache storage implementations.
InMemoryStorage<K, V>
In-memory implementation of the cache storage interface.

Enums

EvictionAlgorithm
Enumeration of available cache eviction algorithms.

Functions

initLogging(Level logLevel, {dynamic logToConsole = false, LogFnType logFn = developer.log, ConsoleLogFnType consoleLogFn = print}) → void

Typedefs

ConsoleLogFnType = void Function(Object? object)
LogFnType = void Function(String message, {Object? error, int level, String name, int? sequenceNumber, StackTrace? stackTrace, DateTime? time, Zone? zone})

Exceptions / Errors

AppException