create method

Future<QBConferenceRTCSession?> create(
  1. String roomId,
  2. int sessionType
)

Implementation

Future<QBConferenceRTCSession?> create(
    final String roomId, final int sessionType) async {
  Map<Object?, Object?> map = await _conferenceModule
      .invokeMethod(CREATE_METHOD, [roomId, sessionType]);

  QBConferenceRTCSession? session =
      QBConferenceSessionMapper.mapToQBConferenceSession(map);

  return session;
}