isNotYetValid property

bool get isNotYetValid

Check if token is not yet valid (before nbf time)

Implementation

bool get isNotYetValid {
  final nbf = notBefore;
  return nbf != null && DateTime.now().isBefore(nbf);
}