setExpirations function
Implementation
Map<String, dynamic> setExpirations(Map<String, dynamic> token) {
final now = DateTime.now().millisecondsSinceEpoch ~/ 1000;
token["expires_at"] = now + (token["expires_in"] as int);
token["refresh_token_expires_at"] =
now + (token["refresh_token_expires_in"] as int);
return token;
}