Future<String> languageCode() async { String? language = await _channel.invokeMethod('config.languageCode'); if (language == null) { throw TypeError(); } return language; }