immutable_collection 0.2.1+3
immutable_collection: ^0.2.1+3 copied to clipboard

Dart native js
Flutter Android iOS web

Immutable collections, IList<E>, ISet<E>, IMap<K, V>. They all compare as value types.

Immutable collections #

Immutable collections that compare as value types.

  • Immutable List<E> as IList<E>.
  • Immutable HashSet<E> as ISet<E>.
  • Immutable HashMap<K, V> as IMap<K, V>.

See an example for details.

If you want immutable data classes and discriminated unions that compare as value types, you might use data classes and discriminated unions.

2
likes
110
pub points
44%
popularity

Immutable collections, IList<E>, ISet<E>, IMap<K, V>. They all compare as value types.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

vr.19860507@gmail.com

License

BSD (LICENSE)

Dependencies

collection, meta

More

Packages that depend on immutable_collection