isStaleFor method
Returns true if stats for tableName are stale
(collected more than maxAge ago).
Implementation
bool isStaleFor(String tableName,
{Duration maxAge = const Duration(hours: 24)}) {
final ts = get(tableName);
if (ts == null) return true;
return DateTime.now().difference(ts.collectedAt) > maxAge;
}