remainingTime property
Duration
get
remainingTime
Returns the time until this token expires.
Implementation
Duration get remainingTime => expiresAt.difference(DateTime.now().toUtc());
Returns the time until this token expires.
Duration get remainingTime => expiresAt.difference(DateTime.now().toUtc());