cache3<R, S1, S2, S3> function

R Function() Function(S1, S2, S3) cache3 <R, S1, S2, S3>(
  1. R Function() f(
    1. S1,
    2. S2,
    3. S3
    )
)

Example:

var selector = cache3((List<String> names, int limit, String prefix) =>
       () => names.where((str) => str.startsWith(prefix)).take(limit).toList());

Implementation

R Function() Function(S1, S2, S3) cache3<R, S1, S2, S3>(
  R Function() Function(S1, S2, S3) f,
) =>
    c.cache3_0(f);