isExpired abstract method

bool isExpired(
  1. DateTime now,
  2. DateTime? last
)

Determines if the tracked value is expired based on the current and last update times.

This method must be implemented by subclasses to define the expiration logic.

Implementation

bool isExpired(DateTime now, DateTime? last);