expiresIn property

Duration? get expiresIn

Expiration time of the Access Token since the response was generated.

Implementation

Duration? get expiresIn => expiresAt == null
    ? getTyped('expires_in')
    : expiresAt!.difference(clock.now());