title: Is there a redis package for "Azure cache for Redis" in dart 2.9.2 (for flutter app) which takes hostname, port and its key in the connection string?
body: <p>I want to connect my Azure Cache for Redis in a flutter app. Currently I've tried two packages in dart for redis which are <a href="https://pub.dev/packages/redis" rel="nofollow noreferrer">redis 1.3.0</a> and <a href="https://pub.dev/packages/dartis" rel="nofollow noreferrer">dartis 0.5.0</a>.</p>
  <p>Example:</p>
  <pre><code>import 'package:redis/redis.dart';
  ...
  RedisConnection conn = new RedisConnection();
      conn
          .connect('localhost', 6379)
          .then((Command command) {
        print(&quot;yo2&quot;);
        command.send_object([&quot;SET&quot;, &quot;key1&quot;, &quot;value1&quot;]).then((var response) {
          print(response);
        });
      });
  </code></pre>
  <p>Instead of &quot;localhost&quot; I put &quot;SampleName.redis.cache.windows.net&quot;. This is the error I get:</p>
  <p>E/flutter ( 4861): [ERROR:flutter/shell/common/shell.cc(209)] Dart Error: Unhandled exception:
  E/flutter ( 4861): RedisError(NOAUTH Authentication required.)</p>
  <p><a href="https://github.com/dartist/redis_client" rel="nofollow noreferrer">old package</a> This is the package starred on <a href="https://redis.io/clients#dart" rel="nofollow noreferrer">Redis Website</a>. But it's incompatible on versions &gt;2.</p>