deeptc library

Functions

closeTranslateDioClient() → Future<void>
Call this function if you want to shutdown the _dio instance associated with the translate method.
translate(String text, {required String to, String? from, bool enableLogging = false}) → Future<String?>
Translates a given string text to the target language to.