getCommittedSubSessionList method

  1. @override
Future<List<ZoomVideoSdkSubSessionKit>> getCommittedSubSessionList()

Get the list of committed sub-sessions.
Return a JSON string containing the list of committed sub-sessions.

Implementation

@override
Future<List<ZoomVideoSdkSubSessionKit>> getCommittedSubSessionList() async {
  var subSessionListString = await methodChannel
      .invokeMethod<String?>('getCommittedSubSessionList')
      .then<String?>((String? value) => value);

  var subSessionListJson = jsonDecode(subSessionListString!) as List;
  List<ZoomVideoSdkSubSessionKit> subSessionList = subSessionListJson
      .map((subSessionJson) =>
      ZoomVideoSdkSubSessionKit.fromJson(subSessionJson))
      .toList();

  return subSessionList;
}