stopMixerTask method

Future<Map> stopMixerTask(
  1. String taskID
)

Implementation

Future<Map<dynamic, dynamic>> stopMixerTask(String taskID) async {
  var data = await (() {
    Map completerMap = createCompleter();
    ZegoFlutterEngine.instance
        .stopMixerTask(taskID, completerMap["success"], completerMap["fail"]);
    return completerMap["completer"].future;
  })();
  return json.decode(data);
}