tooly 0.7.2 copy "tooly: ^0.7.2" to clipboard
tooly: ^0.7.2 copied to clipboard

Tooly is a package based in Lodash for Dart that contain utilities for working with lists, maps, sets and objects.

example/lib/main.dart

import 'package:tooly/tooly.dart';

void main() {
  List firstList = [1, 2, 3, 4, 5, 6, 7, 8, 9];
  print(Tooly.chunk(firstList, 3));
  // [[1, 2], [3, 4], [5, 6], [7, 8], 9]

  var secondList = [1, 2, 3];
  var thirdList = [3, 4, 5];
  print(Tooly.difference(secondList, thirdList));
  // [1, 2]

  var fourthList = [1, 2, 3, 4];
  print(Tooly.findIndex(fourthList, (e) => e == 2));
  // 1
}
2
likes
160
pub points
0%
popularity

Publisher

unverified uploader

Tooly is a package based in Lodash for Dart that contain utilities for working with lists, maps, sets and objects.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection

More

Packages that depend on tooly