Clone this repo:
  1. 470ed3a Merge pull request #2 from nex3/strong by Kwang Yul Seo · 8 years ago master v1.0.1
  2. c0280aa Fix all strong-mode warnings and errors. by Natalie Weizenbaum · 8 years ago
  3. 2452c76 Setup Travis CI. by Kwang Yul Seo · 9 years ago
  4. a720b01 Update CHANGELOG.md and bump the version to 1.0.0. by Kwang Yul Seo · 9 years ago 1.0.0
  5. dd692db Remove _hash function and use hash functions provided by quiver_hashcode. by Kwang Yul Seo · 9 years ago

Tuple data structure

  • [Tuple2], [Tuple3]...

Build Status Coverage 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.