BotTokenStorageType<T> mixin

A type mixin used in RefreshTokenInterceptor that extend BotStorage.delete behavior with message parameter.

That can be used for delete token and provide a reason message, refer to RefreshTokenInterceptor.onRevoked

Mixin Applications

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([String? message]) FutureOr<void>
Deletes the stored token asynchronously.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read() → T?
Returns the stored data.
inherited
toString() String
A string representation of this object.
inherited
write(T? value) FutureOr<void>
Saves the provided value asynchronously.
inherited

Operators

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