signIn static method

Future<AuthResult?> signIn(
  1. ProviderArgs args, {
  2. int? width,
  3. int? height,
})

Implementation

static Future<AuthResult?> signIn(
  ProviderArgs args, {
  int? width,
  int? height,
}) async {
  _args = args;
  _signInResultCompleter = Completer<AuthResult?>();

  try {
    await _invokeSignIn(args, width, height);
    return _signInResultCompleter.future;
  } catch (_) {
    return null;
  }
}