GlobalConfigs constructor
GlobalConfigs(
- EngineInitParams params
Implementation
GlobalConfigs(EngineInitParams params) {
_sharedPreferencesAdapter = params.sharedPreferencesAdapter;
_exceptionHandlerAdapter = params.exceptionHandler ?? DefaultExceptionHandlerAdapter();
_httpAdapter = params.httpAdapter ?? DefaultHttpAdapter();
_storageAdapter = params.storageAdapter ?? DefaultStorageAdapter();
_engineMonitor = params.engineMonitor;
_fontScaleAdapter = params.fontScaleAdapter;
_deviceAdapter = params.deviceAdapter;
}