whereNotOlderThan static method
Only takes actions that are not older than duration
.
Implementation
static PersistenceFilter whereNotOlderThan(Duration duration) =>
(Map<String, String> action) => _notOlderThan(
action,
DateTime.now(),
duration,
);