Closed Windisch94 closed 5 months ago
Hi @Windisch94, good idea, we might do it somehow as part of already proposed updates in #204.
Hi @Windisch94 new version just landed with safeMapping. You should be able to filter-out failed mappings.
Closing now, feel free to repoen if you think that safeMapping doesn't cover your needs.
I'd like to convert lets say a list
final listA = [correctObject, mappingGoesWrongObject, correctObject]
into a listfinal listB = [correctMappedObject, correctMappedObject]
where i can ignore all elements where the mapping goes wrong. I hope you can get the idea - i haven't seen the possibility to do this in the current implementation.