remainingTime property

Duration get remainingTime

Returns the time until this token expires.

Implementation

Duration get remainingTime => exp.difference(DateTime.now().toUtc());