InMemoryKeyValueStore class

Хранилище поверх карты. Карта играет роль диска: перезапуск в тесте — новый граф объектов поверх той же карты.

Implemented types

Constructors

InMemoryKeyValueStore([Map<String, String>? backing])

Properties

data → Map<String, String>
Прямой доступ к «диску».
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear({String prefix = ''}) → Future<void>
override
delete(String key) → Future<void>
override
keys({String prefix = ''}) → Future<List<String>>
Ключи с префиксом prefix.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String key) → Future<String?>
override
toString() → String
A string representation of this object.
inherited
write(String key, String value) → Future<void>
override

Operators

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