Skip to content

v0.9.0

Choose a tag to compare

@passsy passsy released this 02 Aug 11:30
  • New: pickFromJson(json, args...) allows parsing of a json String, without manually calling jsonDecode #41

  • New: pickDeep(json, 'some.key.inside.the.object'.split('.')) allows picking with a dynamic depth #40

  • Add Pick.index to get the element index for list items #38

    pick(["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 new roundDouble or truncateDouble parameters is true #37. Thx @stevendz

  • Add dartdoc to asList*() extensions