RedisProvider({required String host, required int port, String? password}) : _password = password { settings = RedisSettings(host, port, hasPassword: password != null); }