NEJoinRoomParams constructor

NEJoinRoomParams({
  1. required String roomUuid,
  2. required String userName,
  3. String? avatar,
  4. required String role,
  5. String? password,
  6. bool agentMode = false,
  7. NEInjectedAuthorization? injectedAuthorization,
  8. Map<String, String>? initialMyProperties,
})

Implementation

NEJoinRoomParams({
  required this.roomUuid,
  required this.userName,
  this.avatar,
  required this.role,
  this.password,
  this.agentMode = false,
  this.injectedAuthorization,
  this.initialMyProperties,
}) : assert(!agentMode || injectedAuthorization != null);