RedisProvider class final

Constructors

RedisProvider({required String host, required int port, String? password})
RedisProvider.fromEnvironment(EnvContract env)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
logger ↔ LoggerContract
latefinal
name String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settings RedisSettings
latefinal

Methods

clear() Future<void>
dispose() Future<void>
get(String? key) Future<Map<String, dynamic>?>
getHealth() Future<bool>
getMany(List<String> keys) Future<List<Map<String, dynamic>?>>
getOrFail(String key, {Exception onFail()?}) Future<Map<String, dynamic>>
has(String key) Future<bool>
init() Future<void>
inspect() Future<Map<String, dynamic>>
length() Future<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put<T>(String key, T object) Future<void>
putMany<T>(Map<String, T> objects) Future<void>
remove(String key) Future<void>
removeMany(List<String> keys) Future<void>
toString() String
A string representation of this object.
inherited
whereKeyStartsWith(String prefix) Future<Map<String, dynamic>>
whereKeyStartsWithOrFail(String prefix, {Exception onFail()?}) Future<Map<String, dynamic>>

Operators

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