StorageConfig class
Storage configuration for Nylo. You can set the storage options for each platform. E.g. AndroidOptions, IOSOptions, LinuxOptions, WindowsOptions, WebOptions, MacOsOptions
Constructors
- StorageConfig({IOSOptions iosOptions = IOSOptions.defaultOptions, AndroidOptions androidOptions = AndroidOptions.defaultOptions, LinuxOptions linuxOptions = LinuxOptions.defaultOptions, WindowsOptions windowsOptions = WindowsOptions.defaultOptions, WebOptions webOptions = WebOptions.defaultOptions, MacOsOptions macOsOptions = MacOsOptions.defaultOptions})
Properties
- androidOptions ↔ AndroidOptions
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- iosOptions ↔ IOSOptions
-
getter/setter pair
- linuxOptions ↔ LinuxOptions
-
getter/setter pair
- macOsOptions ↔ MacOsOptions
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- webOptions ↔ WebOptions
-
getter/setter pair
- windowsOptions ↔ WindowsOptions
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → StorageConfig
-
Returns the instance.
final
Static Methods
-
init(
{IOSOptions? iosOptions, AndroidOptions? androidOptions, LinuxOptions? linuxOptions, WindowsOptions? windowsOptions, WebOptions? webOptions, MacOsOptions? macOsOptions}) → dynamic - Initialize the storage configuration.