Meeting constructor

Meeting({
  1. required String url,
  2. String? meetingId,
  3. String? userId,
  4. String? name,
  5. MediaStream? stream,
  6. int? maxRetryCount = 3,
  7. bool? autoConnect = true,
  8. bool? isSecured = false,
})

Implementation

Meeting({
  required this.url,
  this.meetingId,
  this.userId,
  this.name,
  this.stream,
  this.maxRetryCount = 3,
  this.autoConnect = true,
  this.isSecured = false,
}) {
  this.transport = new Transport(
    url: formatUrl(this.meetingId!),
    maxRetryCount: maxRetryCount,
    canReconnect: autoConnect,
    isSecured: this.isSecured,
  );
  this.listenMessage();
}