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

outdated

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
0
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.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection

More

Packages that depend on tooly