identifiable 0.2.0 copy "identifiable: ^0.2.0" to clipboard
identifiable: ^0.2.0 copied to clipboard

Identifiable mixin and id-based collection helpers for Dart.

0.2.0 #

  • BREAKING: Identifiable is now generic over the id type — Identifiable<I> (records, ints, etc.). Mix Identity (= Identifiable<String>) or Identifiable<String> instead of bare Identifiable.
  • Add IdentifiableIterable.updateById and IdentifiableList.indexWhereById.

0.1.1 #

  • Add hasSameId (id-only check); isSameAs now also requires a matching runtimeType.

0.1.0 #

  • Initial release.
  • Identifiable mixin (id, isSameAs).
  • IdentifiableIterable: includes, overlaps, withoutId, byId, toMapById.
  • IdentifiableMap: upsert, upsertAll, removeById, updateById.
1
likes
0
points
642
downloads

Publisher

unverified uploader

Weekly Downloads

Identifiable mixin and id-based collection helpers for Dart.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on identifiable