linkWithPhoneNumber method

Future<ConfirmationResult> linkWithPhoneNumber(
  1. String phoneNumber,
  2. ApplicationVerifier<ApplicationVerifierJsImpl> applicationVerifier
)

Links the user account with the given phoneNumber in E.164 format (e.g. +16505550101) and applicationVerifier.

Implementation

Future<ConfirmationResult> linkWithPhoneNumber(
        String phoneNumber, ApplicationVerifier applicationVerifier) =>
    handleThenable(jsObject.linkWithPhoneNumber(
            phoneNumber, applicationVerifier.jsObject))
        .then((c) => ConfirmationResult.fromJsObject(c));