local_storage/local_storage library

Classes

NyStorage
Base class to help manage local storage
StorageConfig
Storage configuration for Nylo. You can set the storage options for each platform. E.g. AndroidOptions, IOSOptions, LinuxOptions, WindowsOptions, WebOptions, MacOsOptions
StorageManager
Storage manager for Nylo.

Functions

storageCollectionDeleteIndex<T>(String key, int index) Future
Delete an item from a collection in the storage class.
storageCollectionDeleteValue<T>(String key, {dynamic value}) Future
Delete a value from a collection in the storage class.
storageCollectionDeleteWhere<T>(String key, bool value(T where)) Future
Delete an item from a collection in the storage class.
storageCollectionRead<T>(String key, {Map<Type, dynamic>? modelDecoders}) Future<List<T>>
Read a collection from the storage class.
storageCollectionSave<T>(String key, List collection) Future
Save a collection to the storage class.
storageDelete(String key) Future
Delete data from the storage class.
storageRead<T>(String key, {Map<Type, dynamic>? modelDecoders}) Future
Read data from the storage class.
storageSave(String key, dynamic object, {bool inBackpack = false}) Future
Save data to the storage class.