toMfaEnrollment method
GoogleCloudIdentitytoolkitV1MfaEnrollment
toMfaEnrollment()
Implementation
v1.GoogleCloudIdentitytoolkitV1MfaEnrollment toMfaEnrollment() {
final that = this;
return switch (that) {
UpdatePhoneMultiFactorInfoRequest() =>
v1.GoogleCloudIdentitytoolkitV1MfaEnrollment(
mfaEnrollmentId: uid,
displayName: displayName,
// Required for all phone second factors.
phoneInfo: that.phoneNumber,
enrolledAt: enrollmentTime?.toUtc().toIso8601String(),
),
};
}