import { MLKitTranslate } from '@awesome-cordova-plugins/ml-kit-translate';
constructor(private mlkitTranslate: MLKitTranslate) { }
...
this.mlkitTranslate.translate('Hello', 'en', 'es')
.then((resultText: string) => console.log(res))
.catch((error: string) => console.error(error));
@interfaces
LanguageModel