isExpired method

bool isExpired()

Checks if this value already expired.

Return true if the value already expires and false otherwise.

Implementation

bool isExpired() {
  return _expiration < DateTime.now().toUtc().millisecondsSinceEpoch;
}