Immutable lists, sets and maps for Dart that are as fast as mutable ones
open sourceBSD-2-Clausefree
Fast Immutable Collections (FIC) is a Dart and Flutter package of immutable collections that aim to be as fast as Dart's native mutable ones: IList, ISet, IMap and IMapOfSets (a multimap). Lock and unlock extensions turn mutable collections into immutable ones and back, and it adds extension methods and comparators for Dart's native collections.
Problems it solves
- immutable lists and maps for Flutter state
- use value equality for collections in Dart
- make a Dart list read-only without copying it each time
Features
- IList, ISet, IMap and IMapOfSets
- lock and unlock extensions
- extension methods and comparators for native collections
Alternatives
The same job
These do what Fast Immutable Collections does.
- built_collection Immutable collections for Dart using the builder pattern
