ConfigTool constructor
ConfigTool({
- SupportedSettingsRegistry? registry,
- GlobalConfigStore? globalConfig,
- SettingsStore? settings,
- void onAppStateSync(
- SyncableAppStateKey key,
- dynamic value
Implementation
ConfigTool({
SupportedSettingsRegistry? registry,
GlobalConfigStore? globalConfig,
SettingsStore? settings,
this.onAppStateSync,
}) : _registry = registry ?? SupportedSettingsRegistry(),
_globalConfig = globalConfig ?? InMemoryGlobalConfigStore(),
_settings = settings ?? InMemorySettingsStore();