confirmPhoneUpdate method

Future<SyneriseResult<void>> confirmPhoneUpdate(
  1. String phone,
  2. String confirmationCode,
  3. bool smsAgreement
)

Implementation

Future<SyneriseResult<void>> confirmPhoneUpdate(
    String phone, String confirmationCode, bool smsAgreement) async {
  return await SyneriseInvocation(methodChannel)
      .invokeSDKApiMethod<void>('Client/confirmPhoneUpdate', parameters: {
    "phone": phone,
    "confirmationCode": confirmationCode,
    "smsAgreement": smsAgreement
  });
}