PhoneAuthProvider constructor

PhoneAuthProvider([
  1. Auth? auth
])

Creates a new PhoneAuthProvider with the optional Auth instance in which sign-ins should occur.

Implementation

factory PhoneAuthProvider([Auth? auth]) =>
    PhoneAuthProvider.fromJsObject((auth != null)
        ? PhoneAuthProviderJsImpl(auth.jsObject)
        : PhoneAuthProviderJsImpl());