pub package Build Status

immutable_ordered_map

A dart implementation of Immutable ordered map. A port of orderedmap.

Usage

Refer to the original repo for usage. There are some breaking changes though:

  • The original OrderedMap is renamed to ImmutableOrderedMap for clarity.
  • ImmutableOrderedMap is now a generic class with two type parameters: K and V.
  • The original OrderedMap.toObject is renamed to ImmutableOrderedMap.toMap (Dart doesn't have a map-like Object type, use Map<T, V> instead).