isValid property

bool get isValid

Check if token is currently valid (not expired and not before nbf)

Implementation

bool get isValid => !isExpired && !isNotYetValid;