requestJoinSubRoom method

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

Implementation

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