ConfigTool constructor

ConfigTool({
  1. SupportedSettingsRegistry? registry,
  2. GlobalConfigStore? globalConfig,
  3. SettingsStore? settings,
  4. void onAppStateSync(
    1. SyncableAppStateKey key,
    2. dynamic value
    )?,
})

Implementation

ConfigTool({
  SupportedSettingsRegistry? registry,
  GlobalConfigStore? globalConfig,
  SettingsStore? settings,
  this.onAppStateSync,
}) : _registry = registry ?? SupportedSettingsRegistry(),
     _globalConfig = globalConfig ?? InMemoryGlobalConfigStore(),
     _settings = settings ?? InMemorySettingsStore();