Name: tuple
Owner: Dart
Description: A library providing a tuple data structure
Created: 2017-06-06 15:36:01.0
Updated: 2018-04-19 16:27:24.0
Pushed: 2018-01-03 23:16:24.0
Homepage: null
Size: 9
Language: Dart
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
t t = const Tuple2<String, int>('a', 10);
t(t.item1); // prints 'a'
t(t.item2); // prints '10'
art
l t1 = const Tuple2<String, int>('a', 10);
l t2 = t1.withItem1('c');
2 is a new [Tuple2] object with item1 is 'c' and item2 is 10.