getSupportCountryInfo method

  1. @override
Future<ZoomVideoSdkSupportCountryInfo?> getSupportCountryInfo()
override

Implementation

@override
Future<ZoomVideoSdkSupportCountryInfo?> getSupportCountryInfo() async {
  var countryInfoString = await methodChannel
      .invokeMethod<String?>('getSupportCountryInfo')
      .then<String?>((String? value) => value);

  Map<String, dynamic> countryMap = jsonDecode(countryInfoString!);
  var countryInfo = ZoomVideoSdkSupportCountryInfo.fromJson(countryMap);
  return countryInfo;
}