identifiable 0.2.0
identifiable: ^0.2.0 copied to clipboard
Identifiable mixin and id-based collection helpers for Dart.
0.2.0 #
- BREAKING:
Identifiableis now generic over the id type —Identifiable<I>(records, ints, etc.). MixIdentity(= Identifiable<String>) orIdentifiable<String>instead of bareIdentifiable. - Add
IdentifiableIterable.updateByIdandIdentifiableList.indexWhereById.
0.1.1 #
- Add
hasSameId(id-only check);isSameAsnow also requires a matchingruntimeType.
0.1.0 #
- Initial release.
Identifiablemixin (id,isSameAs).IdentifiableIterable:includes,overlaps,withoutId,byId,toMapById.IdentifiableMap:upsert,upsertAll,removeById,updateById.