cache2<R, S1, S2> function
- R Function() f(
- S1,
- S2
Example:
var selector = cache2((List<String> names, int limit) =>
() => names.where((str) => str.startsWith("A")).take(limit).toList());
Implementation
R Function() Function(S1, S2) cache2<R, S1, S2>(
R Function() Function(S1, S2) f,
) =>
c.cache2_0(f);