flutter_data_shp_provider 0.0.1
flutter_data_shp_provider: ^0.0.1 copied to clipboard
A singleton wrapper around SharedPreferences for managing authentication and session data with built-in error handling and debug logging.
0.0.1 #
- Initial release
- Singleton pattern implementation for SharedPreferences management
- Built-in error handling for all read/write operations
- Generic methods:
getValue()andsaveValue() - Specific getters/setters for authentication and session data:
- Login credentials (
keyLogin,passwordLogin) - Session management (
idSesion,token,validityInSeconds) - Authentication collections (
idColeccionAuth,tipoUsuarioAuth,coleccionAuth) - Client identifiers (
idAppCliente,offset)
- Login credentials (
- Debug logging that only prints in debug mode
- Async initialization with
initPrefs() - Initialization status checking with
isInitializedgetter - Clear all preferences utility with
limpiarPreferencias()