signInWithGoogle static method

Future<void> signInWithGoogle({
  1. dynamic onSuccess(
    1. String
    )?,
  2. dynamic onError(
    1. dynamic
    )?,
})

Implementation

static Future<void> signInWithGoogle({
  final Function(String)? onSuccess,
  final Function(dynamic)? onError,
}) {
  return AuthProvider().signUpWithGoogle(
    onSuccess: onSuccess,
    onError: onError,
  );
}