MemoizeWithTTL<R> constructor
MemoizeWithTTL<R> (})
Implementation
MemoizeWithTTL(
this._fn, {
this.cacheLifetime = const Duration(minutes: 5),
String Function(List<dynamic> args)? keyFn,
}) : _keyFn = keyFn;