verifyPhone method
Verifies a phone.
correlation_id
(optional) transaction id to trace execution through call chain.recipientId
a recipient id of the sms settings to be verified smscode
a verification code for verifying sms Return Future that receives null for success. Throws error.
Implementation
@override
Future verifyPhone(
String? correlationId, String recipientId, String code) async {
var timing = instrument(correlationId, 'sms_settings.verify_sms');
var result = await controller.verifyPhone(correlationId, recipientId, code);
timing.endTiming();
return result;
}