ktuples 0.0.7 copy "ktuples: ^0.0.7" to clipboard
ktuples: ^0.0.7 copied to clipboard

discontinued
outdated

Collection of Kotlin-inspired tuple-like structures, from Pair to Quintuple

example/main.dart

import 'package:ktuples/ktuples.dart';

void main() {
  // Example for `Pair`, other tuples work the same
  const pair = Pair('meaning of life', 42);
  print(pair); // Pair<String, int>: meaning of life, 42

  print(pair == const Pair('meaning of life', 42)); // true
  print(pair == const Pair('meaning of life', 43)); // false
}
0
likes
0
points
15
downloads

Publisher

unverified uploader

Weekly Downloads

Collection of Kotlin-inspired tuple-like structures, from Pair to Quintuple

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

equatable, meta

More

Packages that depend on ktuples