dartlin 0.4.3
dartlin: ^0.4.3 copied to clipboard
Dartlin is a helper library that provides readable methods with which you can write cleaner looking code.
0.4.3 #
- Added
firstOrNull,singleOrNull,getOrNullto Iterable.
0.4.2 #
- Added
rangebased methods tonumtypes:downTo,toanduntil.
0.4.1 #
- Added the
repeatmethod. - Added the
T.letextension method.
0.4.0 #
- Added a
groupingBymethod for both Iterables and strings. And aGroupingclass to accommodate it. - Added a
chunkedmethod for both Iterables and strings. The returned Iterable is lazy. - Added an
associateBymethod for both Iterables and strings. - Added an
associatemethod for both Iterables and strings. - Added a
tryymethod to allow for assignable try-catch statements. - BUG FIX: The
rangemethod no longer freezes up when thestepmethod is not even/odd like the end value. - BREAKING: The
iffmethod now works for all types, not only strings. At the cost that theelseIfandorElsewill also be triggered if the returned value isnull.
0.3.0 #
- BREAKING: Renamed the
rangeslibrary tocollections.
0.2.0+1 #
- Added
iffdocumentation.
0.2.0 #
- Added
iffmethod for control flow. - BREAKING: Removed the
whensimplified if-else chain, use the newiff.
0.1.0+1 #
- Fixed issues reported in the pub score.
0.1.0 #
- Added
whenmethod for control flow. - Added
rangemethod for ranges.