expiresIn property

int expiresIn
final

The access token expiration time in milliseconds since epoch.

When tryFromJson is called with convert: true, this is computed as now + duration; with convert: false the raw value from the source is stored as-is. Use isTokenExpired to evaluate validity with the built-in 5-minute buffer.

Implementation

final int expiresIn;