isExpired method
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;
}
Checks if this value already expired.
Return true if the value already expires and false otherwise.
bool isExpired() {
return _expiration < DateTime.now().toUtc().millisecondsSinceEpoch;
}