GetExtraGoogleInfoCallback typedef

GetExtraGoogleInfoCallback = Future<void> Function(Session session, {required String accessToken, required GoogleAccountDetails accountDetails, required Transaction? transaction})

Function to be called to extract additional information from Google APIs using the access token. The session and transaction can be used to store additional information in the database.

Implementation

typedef GetExtraGoogleInfoCallback =
    Future<void> Function(
      Session session, {
      required GoogleAccountDetails accountDetails,
      required String accessToken,
      required Transaction? transaction,
    });