cache2_2<R, S1, S2, P1, P2> function
- R Function(P1, P2) f(
- S1,
- S2
Example:
var selector =
cache2_2((List<String> names, int limit) => (String startString, String endString) {
return names
.where((str) => str.startsWith(startString) && str.endsWith(endString))
.take(limit).toList();
});
Implementation
R Function(P1, P2) Function(S1, S2) cache2_2<R, S1, S2, P1, P2>(
R Function(P1, P2) Function(S1, S2) f,
) =>
c.cache2_2(f);