#39;unregisterFunction&#39;, {
      &#39;conversationId&#39;: conversationId,
      &#39;functionName&#39;: functionName,
    });

    LeapLogger.info(&#39;Function &quot;$functionName&quot; unregistered successfully&#39;);
    return result;
  } on PlatformException catch (e) {
    LeapLogger.error(&#39;Failed to unregister function &quot;$functionName&quot;&#39;, e);
    throw FlutterLeapSdkException(
      &#39;Failed to unregister function: ${e.message}&#39;,
      e.code,
    );
  }
}</code></pre>
</s