verifyPhone method

  1. @override
Future verifyPhone(
  1. String? correlationId,
  2. String recipientId,
  3. String code
)
override

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 sms
  • code 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;
}