storage
Configures the storage settings for the builder.
This method allows the binding of a specific storage implementation with the builder configuration to manage data storage operations.
Return
The Builder instance with the configured storage, enabling method chaining.
Parameters
The storage implementation of type TolgeeStorageProvider
. This parameter defines how data will be stored and retrieved.
Represents the storage configuration for the Builder.
This property allows the customization of the storage mechanism by providing an implementation of the TolgeeStorageProvider
interface. The TolgeeStorageProvider
interface defines methods for storing and retrieving data, enabling support for different storage backends.
By default, it is initialized with platformStorage
, which can be replaced with a custom implementation through the storage(storage: TolgeeStorageProvider)
method in the Builder.