Add local data store adapter layer and Hive scaffold
This commit is contained in:
@@ -22,6 +22,10 @@ class AppConfig {
|
||||
static bool get useFakeBackend =>
|
||||
const bool.fromEnvironment('USE_FAKE_BACKEND', defaultValue: true);
|
||||
|
||||
/// Enables Hive local persistence store instead of shared_preferences.
|
||||
static bool get useHiveLocalDb =>
|
||||
const bool.fromEnvironment('USE_HIVE_LOCAL_DB', defaultValue: false);
|
||||
|
||||
/// Runtime override for backend URL (e.g. local settings screen).
|
||||
static void overrideBackendBaseUrl(String? baseUrl) {
|
||||
_baseUrlOverride = baseUrl;
|
||||
|
||||
Reference in New Issue
Block a user