sendBroadcastMessage method

Future<Map> sendBroadcastMessage(
  1. String roomID,
  2. String message
)

Implementation

Future<Map<dynamic, dynamic>> sendBroadcastMessage(
    String roomID, String message) async {
  ZegoFlutterEngine.instance.sendBroadcastMessage(roomID, message);
  final Map<dynamic, dynamic> map = {};
  map["errorCode"] = 0;
  map["messageID"] = 0;

  return Future.value(map);
}