RedisConfig class

Configuration for Redis.

Constructors

RedisConfig({required bool enabled, required String host, required int port, String? user, String? password, bool requireSsl = false})
Creates a new RedisConfig.

Properties

enabled bool
True if Redis should be enabled.
final
hashCode int
The hash code for this object.
no setterinherited
host String
Redis host.
final
password String?
Redis password (optional, but recommended).
final
port int
Redis port.
final
requireSsl bool
True if Redis requires an SSL connection.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user String?
Redis user name (optional).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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