Your Url").build();
LanguageTranslator service = new LanguageTranslator(iamOptions: options);
IdentifyLanguageResult identifyLanguageResult = await service.identifylanguage("You text to identify");
print(identifyLanguageResult);
</code></pre><ul><li>Example</li></ul>
<pre class="language-dart"><code>void identifyLanguage(String text) async {
    IamOptions options = await IamOptions(iam_api_key: "fr8sBBKkjZidQJij6sadfxAwqwqe4S8yY_fdXmSrKZoH_F8LB", url: "https://gateway-syd.watsonplatform.net/language-transl