Check out example codes for "dartlang tuple". It will help you in understanding the concepts better.

Code Example 1

const t = const Tuple2<String, int>('a', 10);

print(t.item1); // prints 'a'
print(t.item2); // prints '10'

Learn ReactJs, React Native from akashmittal.com