BotStorage<T> class abstract

An interface which must be implemented to read, write, and delete the value.

Implementers

Constructors

BotStorage()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete() FutureOr<void>
Deletes the stored data asynchronously.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read() → T?
Returns the stored data.
toString() String
A string representation of this object.
inherited
write(T? value) FutureOr<void>
Saves the provided value asynchronously.

Operators

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