init static method

dynamic init({
  1. IOSOptions? iosOptions,
  2. AndroidOptions? androidOptions,
  3. LinuxOptions? linuxOptions,
  4. WindowsOptions? windowsOptions,
  5. WebOptions? webOptions,
  6. MacOsOptions? macOsOptions,
})

Initialize the storage configuration.

Implementation

static init({
  IOSOptions? iosOptions,
  AndroidOptions? androidOptions,
  LinuxOptions? linuxOptions,
  WindowsOptions? windowsOptions,
  WebOptions? webOptions,
  MacOsOptions? macOsOptions,
}) {
  StorageConfig storageConfig = StorageConfig.instance;
  storageConfig.iosOptions = iosOptions ?? IOSOptions.defaultOptions;
  storageConfig.androidOptions =
      androidOptions ?? AndroidOptions.defaultOptions;
  storageConfig.linuxOptions = linuxOptions ?? LinuxOptions.defaultOptions;
  storageConfig.windowsOptions =
      windowsOptions ?? WindowsOptions.defaultOptions;
  storageConfig.webOptions = webOptions ?? WebOptions.defaultOptions;
  storageConfig.macOsOptions = macOsOptions ?? MacOsOptions.defaultOptions;
}