isExpired property

bool get isExpired

Implementation

bool get isExpired {
  // Determine if the IP address is expired
  // If the lastUpdatedAt is greater than 1 hour, then it's expired
  return address == null ||
      lastUpdatedAt.difference(DateTime.now()).inSeconds > 3600;
}