PhoneMultiFactorInfo.fromResponse constructor
- @internal
- GoogleCloudIdentitytoolkitV1MfaEnrollment response
Initializes the PhoneMultiFactorInfo object using the server side response.
Implementation
@internal
PhoneMultiFactorInfo.fromResponse(super.response)
: phoneNumber = response.phoneInfo,
factorId = response.phoneInfo != null ? MultiFactorId.phone : throw 42,
super.fromResponse();