RedisClient class

Redis Client

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

close() Future<void>
close connection
getCommands<K, V>() Commands<K, V>
Get Commands K : key type V : value type
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

connect(String host, int port, {required int db, String? username, String? password}) Future<RedisClient>
Establish connection to Redis server and send SELECT command