remainingTime property

Duration get remainingTime

Returns the time until this token expires.

Implementation

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