v0.9.0
-
New:
pickFromJson(json, args...)allows parsing of a json String, without manually callingjsonDecode#41 -
New:
pickDeep(json, 'some.key.inside.the.object'.split('.'))allows picking with a dynamic depth #40 -
Add
Pick.indexto get the element index for list items #38pick(["John", "Paul", "George", "Ringo"]).asListOrThrow((pick) { final index = pick.index!; return Artist(id: index, name: pick.asStringOrThrow()); );
-
Pick.asIntOrThrow()now allows parsing of doubles when one of the newroundDoubleortruncateDoubleparameters istrue#37. Thx @stevendz -
Add dartdoc to
asList*()extensions