GlobalConfigs constructor

GlobalConfigs(
  1. 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;
}