LocalStorage class

Компонент для работы с постоянным хранилищем

Constructors

LocalStorage(String dbName)
Конструктор

Properties

dbName String
Имя базы данных
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

all() Future<Map<String, dynamic>>
Получение всех данных
getItem<T>(String key) Future<T>
Получение элемента по ключу
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeAll() Future<File>
Удаление всех ключей
removeItem(String key) Future<File>
Удаление данных по ключу key
setItem<T>(String key, T value) Future<void>
Установка данных в кеш
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited