checkCacheTimeout static method

bool checkCacheTimeout(
  1. int cacheTime
)

Implementation

static bool checkCacheTimeout(int cacheTime) {
  return DateTime.now().millisecondsSinceEpoch - customCacheTimeLength >
      cacheTime;
}