Future<void> setLocale(String locale) async { var localeInfo = {'locale': locale}; await _channel.invokeMethod('setLocale', localeInfo); }