signInByPhone<T extends Auth<AuthKeys>> method

Future<AuthResponse<T>> signInByPhone<T extends Auth<AuthKeys>>(
  1. PhoneAuthenticator authenticator, {
  2. Object? multiFactorInfo,
  3. Object? multiFactorSession,
  4. Duration timeout = const Duration(minutes: 2),
  5. void onComplete(
    1. Credential credential
    )?,
  6. void onFailed(
    1. AuthException exception
    )?,
  7. void onCodeSent(
    1. String verId,
    2. int? forceResendingToken
    )?,
  8. void onCodeAutoRetrievalTimeout(
    1. String verId
    )?,
  9. Object? args,
  10. String? id,
  11. bool notifiable = true,
})

Implementation

Future<AuthResponse<T>> signInByPhone<T extends Auth>(
  PhoneAuthenticator authenticator, {
  Object? multiFactorInfo,
  Object? multiFactorSession,
  Duration timeout = const Duration(minutes: 2),
  void Function(Credential credential)? onComplete,
  void Function(AuthException exception)? onFailed,
  void Function(String verId, int? forceResendingToken)? onCodeSent,
  void Function(String verId)? onCodeAutoRetrievalTimeout,
  Object? args,
  String? id,
  bool notifiable = true,
}) {
  return _i<T>("signInByPhone").signInByPhone(
    authenticator,
    multiFactorInfo: multiFactorInfo,
    multiFactorSession: multiFactorSession,
    timeout: timeout,
    onComplete: onComplete,
    onFailed: onFailed,
    onCodeSent: onCodeSent,
    onCodeAutoRetrievalTimeout: onCodeAutoRetrievalTimeout,
    args: args,
    id: id,
    notifiable: notifiable,
  );
}