title: Replacement for Future.transform?
body: <p>I'm going over some <a href="https://github.com/dartist/redis_client/blob/master/lib/src/RedisClient.dart" rel="nofollow">older Dart code</a>, addressing breaking changes with the latest Dart SDK. This one I can't figure out:</p>
  
  <pre><code>Future&lt;DateTime&gt; get lastsave =&gt; 
  client.lastsave.transform((int unixTs) =&gt; 
    new DateTime.fromMillisecondsSinceEpoch(unixTs * 1000, isUtc:true));
  </code></pre>
  
  <p>=></p>
  
  <pre><code>The method 'transform' is not defined for the class 'Future&lt;List&lt;int&gt;&gt;'
  </code></pre>
  
  <p>From what I understand, the purpose of Future.transform() was to apply a synchronous transformation (see e.g. <a href="https://groups.google.com/a/dartlang.org/forum/#!msg/misc/JTm0__ff6aU/czUo1o6mWfYJ" rel="nofollow">this</a> discussion thread). I.e. convert the async call to a sync call and return the value.</p>
  
  <p>Has Future.transform been replaced with something else?</p>