isValid property

bool get isValid

Checks if this token is still valid, ie not expired.

Compare isExpired

Implementation

bool get isValid => !isExpired;