# tuple 0.2.0

Tuple data structure




## Installing
```
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'tuple:0.2.0'
```
Published: 2015-09-21T01:56:44.084Z
Expected archive SHA-256: 46b86eecc7c104f56e6c94f0910a10508dab14c9df4ff4b60a73dd9c1c62be3e

Available in cache; verification: upstream_checksum
## Direct dependencies

## Package README (untrusted upstream documentation)
# Tuple data structure

- [Tuple2], [Tuple3]...

## Usage example

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

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

```dart
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.
```
## Changelog







 
