tring encodedSettings = jsonEncode(settings.toJson());
  txtResult = await Veridflutterplugin.channel
      .invokeMethod(&#39;authenticate&#39;, {&quot;settings&quot;: encodedSettings});
  if (txtResult == &#39;null&#39;) {
    &#47;&#47; session canceled
    return null;
  }
  SessionResult result = SessionResult.fromJson(decodeResult(pencoded: txtResult));
  return result;
}</code></pre>
</section>


  </div> <!-- /.main-content -->

  <div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-righ