check method

void check()

Implementation

void check() {
  sharedPreferencesAdapter ??= ShredPreferenceAdapter();
  exceptionHandler ??= DefaultExceptionHandlerAdapter();
  httpAdapter ??= DefaultHttpAdapter();
  storageAdapter ??= DefaultStorageAdapter();
  engineMonitor ??= EngineMonitor();
  fontScaleAdapter ??= FontScaleAdapter();
  deviceAdapter ??= DeviceAdapter();
  providers ??= [];
  providers!.insert(0, CoreApi());
  if (!debugMode) {
    if ((isEmpty(coreJSAssetsPath)) && isEmpty(coreJSFilePath)) {
      throw StateError(
        "Voltron: debugMode=true, initParams.coreJSAssetsPath and coreJSFilePath both null!",
      );
    }
  }
}