toVerifiedAttributeType method
Implementation
VerifiedAttributeType toVerifiedAttributeType() {
switch (this) {
case 'phone_number':
return VerifiedAttributeType.phoneNumber;
case 'email':
return VerifiedAttributeType.email;
}
throw Exception('$this is not known in enum VerifiedAttributeType');
}