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