commit | a9ef1cdd99a7f4475418bcaff29dab09a31ddead | [log] [tgz] |
---|---|---|
author | Janice Collins <jcollins@google.com> | Thu Jun 15 08:18:35 2017 -0700 |
committer | Janice Collins <jcollins@google.com> | Thu Jun 15 08:18:40 2017 -0700 |
tree | e72b1e6bfbaa82f26f6d075ba7839c5e5bba2886 | |
parent | 311778bbbad6b78ac98bf00e5835edb75db178e0 [diff] |
Use quiver directly, and update README.google. This is so that we don't have to fork quiver_hashcode as well. BUG= R=whesse@google.com Review-Url: https://codereview.chromium.org/2944463002 .
const t = const Tuple2<String, int>('a', 10); print(t.item1); // prints 'a' print(t.item2); // prints '10'
final t1 = const Tuple2<String, int>('a', 10); final t2 = t1.withItem1('c'); // t2 is a new [Tuple2] object with item1 is 'c' and item2 is 10.