flutter_data_shp_provider 0.0.1 copy "flutter_data_shp_provider: ^0.0.1" to clipboard
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() and saveValue()
  • 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)
  • Debug logging that only prints in debug mode
  • Async initialization with initPrefs()
  • Initialization status checking with isInitialized getter
  • Clear all preferences utility with limpiarPreferencias()
0
likes
140
points
356
downloads

Publisher

unverified uploader

Weekly Downloads

A singleton wrapper around SharedPreferences for managing authentication and session data with built-in error handling and debug logging.

Documentation

API reference

License

MIT (license)

Dependencies

flutter, shared_preferences

More

Packages that depend on flutter_data_shp_provider