Can't get google oauth refresh token, someone please help!

Custom Code

I built this code for connecting with a Google account, the problem is that I can only get the access token from it, I want to get the refresh token, is this possible?

Does anyone have a solution to get the Google account refresh token with FlutterFlow?

What have you tried so far?

I understood that it is possible to use googleSignInAccount.serverAuthCode but when I try to run it in Flutterflow I immediately get an error

Did you check FlutterFlow's Documentation for this topic?
Yes
1