logoutRoom method

Future<Map> logoutRoom(
  1. String? roomID
)

Implementation

Future<Map<dynamic, dynamic>> logoutRoom(String? roomID) {
  roomID ??= "";
  ZegoFlutterEngine.instance.logoutRoom(roomID);
  final map = {};
  map["errorCode"] = 0;
  map["extendedData"] = "{}";

  return Future.value(map);
}