isCurrentlyExpired method

Future<bool> isCurrentlyExpired()

Determines if the tracker is currently expired.

Returns true if the tracked value is expired, otherwise false.

Implementation

Future<bool> isCurrentlyExpired() async {
  final last = await lastUpdate.get();
  return isExpired(DateTime.now(), last);
}