setLanguage method

Future<void> setLanguage(
  1. String language
)

Set the language of the chat. Parameter language in locale format e.g.: en-US

Await the returned Future for the native response and to catch errors.

Implementation

Future<void> setLanguage(String language) async {
  await _channel.invokeMethod('setLanguage', language);
}