deep_collection 0.1.1
deep_collection: ^0.1.1 copied to clipboard
Extends [List], [Set] and [Map] in order to add commonly used recursive methods such as sorting, reversing, finding intersections or differences.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add deep_collection
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
deep_collection: ^0.1.1
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:deep_collection/deep_list.dart';
import 'package:deep_collection/deep_map.dart';
import 'package:deep_collection/deep_set.dart';