Bump version and SDK constraint

This commit
(https://github.com/dart-lang/tuple/commit/337813633c41a10ba445b0793c60a437bffca026)
requires Dart 2.0
2 files changed
tree: 03477f8058709f2b99374b7c59adf1c48eac7f26
  1. lib/
  2. test/
  3. .gitignore
  4. .travis.yml
  5. AUTHORS
  6. CHANGELOG.md
  7. LICENSE
  8. pubspec.yaml
  9. README.google
  10. README.md
README.md

Build Status

Usage example

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.