Future<void> setCurrentLanguage(String locale) async { try { await _platform.setCurrentLanguage(locale); } catch (error, stackTrace) { Error.throwWithStackTrace(error, stackTrace); } }