expiresIn property

int expiresIn

Returns the number of seconds before expiration

Implementation

int get expiresIn => math.max<int>(0, _expiresAt.difference(DateTime.now().toUtc()).inSeconds);