cache2_1<R, S1, S2, P1> function
- R Function(P1) f(
- S1,
- 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);