local_storage_manager library
A comprehensive Flutter local storage manager package for your app.
Classes
- LocalStorageManager
- Comprehensive interface for local storage operations Follows dependency inversion principle for clean architecture
- SharedPreferences implementation of LocalStorageManager Uses flutter_shared_utilities for safe serialization
-
StorageError<
T> - Represents a failed storage operation result
- StorageFailure
- Base class for storage failures following clean architecture principles
-
StorageResult<
T> - Result type for storage operations that can either succeed with a value or fail with an error Follows the Either pattern for functional error handling
-
StorageSuccess<
T> - Represents a successful storage operation result
Enums
- StorageFailureType
- Represents different types of storage failures
Exceptions / Errors
- StorageException
- Exception thrown when accessing value on a failed result