pair 0.1.2 copy "pair: ^0.1.2" to clipboard
pair: ^0.1.2 copied to clipboard

A Pair class in dart that inspired Pair from java. Represents a generic pair of two values.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add pair

With Flutter:

 $ flutter pub add pair

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  pair: ^0.1.2

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:pair/pair.dart';
3
likes
150
points
1.17k
downloads

Publisher

unverified uploader

Weekly Downloads

A Pair class in dart that inspired Pair from java. Represents a generic pair of two values.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on pair