responseJoinSubRoomRequest method

Future<int> responseJoinSubRoomRequest(
  1. String roomId,
  2. String userId,
  3. bool agree, [
  4. bool autoLayout = true,
  5. String? extra,
])

Implementation

Future<int> responseJoinSubRoomRequest(String roomId, String userId, bool agree, [bool autoLayout = true, String? extra]) async {
  Map<String, dynamic> arguments = {
    'rid': roomId,
    'uid': userId,
    'agree': agree,
    'auto': autoLayout,
    'extra': extra,
  };
  int code = await _channel.invokeMethod('responseJoinSubRoomRequest', arguments) ?? -1;
  return code;
}