setStreamExtraInfo method

Future<Map> setStreamExtraInfo(
  1. String extraInfo,
  2. int channel
)

Implementation

Future<Map<dynamic, dynamic>> setStreamExtraInfo(
    String extraInfo, int channel) async {
  await ZegoFlutterEngine.instance.setStreamExtraInfo(extraInfo, channel);
  final map = {};
  map["errorCode"] = 0;
  return Future.value(map);
}