curry property

Map1<T1, Map1<T2, R>> curry

Converts a function with 2 positional arguments into a sequence of 2 functions taking a single argument.

Implementation

Map1<T1, Map1<T2, R>> get curry => (T1 arg1) => (T2 arg2) => this(arg1, arg2);