listCurry function

dynamic listCurry(
  1. dynamic f
)

Implementation

listCurry(f) => (a, {Iterable? args}) =>
    (args?.length ?? 0) > 1 ? f(a, args) : (b) => f(a, b);