init static method
dynamic
init({
- IOSOptions? iosOptions,
- AndroidOptions? androidOptions,
- LinuxOptions? linuxOptions,
- WindowsOptions? windowsOptions,
- WebOptions? webOptions,
- 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;
}