sendBarrageMessage method

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

Implementation

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

  return Future.value(map);
}