marcglasberg / fast_immutable_collections

Dart Package: Immutable lists, sets, maps, and multimaps, which are as fast as their native mutable counterparts. Extension methods and comparators for native Dart collections.
BSD 2-Clause "Simplified" License
218 stars 30 forks source link

Add support for enums to compareObject function #50

Closed MichaelTamm closed 1 year ago

MichaelTamm commented 1 year ago

This is helpful, whenever you want to use an ISet with sort: true in its config when the items are of a certain enum.

marcglasberg commented 1 year ago

@MichaelTamm Thanks for the contribution!