bot_storage library

Classes

BotMemoryStorage<T>
Memory storage implementation for BotStorage read, write, and delete the value from memory
BotMemoryStorageWrapper<T>
A wrapper concrete class for BotMemoryStorage interface
BotStorage<T>
An interface which must be implemented to read, write, and delete the value.
BotStorageWrapper<T>
A wrapper concrete class for BotStorage interface

Mixins

BotStorageMixin<T>
Mixin that added reactive behavior to BotStorage

Typedefs

DeleteCallback<T> = FutureOr<void> Function()
Callback for delete stored value
ReadCallback<T> = T? Function()
Callback for read value
WriteCallback<T> = FutureOr<void> Function(T? value)
Callback for Write a new value