cache1_2<R, S1, P1, P2> function

R Function(P1, P2) Function(S1) cache1_2 <R, S1, P1, P2>(
  1. R Function(P1, P2) f(
    1. S1
    )
)

Example:

var selector = cache1_2((List<String> state) => (String startString, String endString) {
   return state
      .where((str) => str.startsWith(startString) && str.endsWith(endString)).toList();
   });

Implementation

R Function(P1, P2) Function(S1) cache1_2<R, S1, P1, P2>(
  R Function(P1, P2) Function(S1) f,
) =>
    c.cache1_2(f);