Clone this repo:

Branches

  1. e9e1468 Support Dart 2, prepare to release 1.0.2 (#4) by Kevin Moore · 8 weeks ago master v1.0.2
  2. a9ef1cd Use quiver directly, and update README.google. This is so that by Janice Collins · 1 year, 3 months ago v1.0.1
  3. 311778b Initialize dart-lang/tuple with the tuple package at v1.0.1. by Janice Collins · 1 year, 3 months ago
  4. 25609b3 first commit by Janice Collins · 1 year, 3 months ago

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.