Refresh the session
Use the refreshSession method to refresh the user's current auth session. The method returns the
updated Web3AuthResponse.
This method is available from v8.
Usage
try {
final Web3AuthResponse response = await Web3AuthFlutter.refreshSession();
final String? privateKey = response.privateKey;
} catch (e) {
// Thrown when the session can't be refreshed, for example when no session is present.
log(e.toString());
}