cache2_1<R, S1, S2, P1> function

R Function(P1) Function(S1, S2) cache2_1 <R, S1, S2, P1>(
  1. R Function(P1) f(
    1. S1,
    2. S2
    )
)

Example:

var selector = cache2_1((List<String> names, int limit) => (String searchString) {
   return names.where((str) => str.startsWith(searchString)).take(limit).toList();
   });

Implementation

R Function(P1) Function(S1, S2) cache2_1<R, S1, S2, P1>(
  R Function(P1) Function(S1, S2) f,
) =>
    c.cache2_1(f);