isExpired property

bool get isExpired

Whether the URL is still valid at the current instant.

Implementation

bool get isExpired => DateTime.now().toUtc().isAfter(expiresAt);