RemoteParticipant.fromInfo constructor

  1. @internal
RemoteParticipant.fromInfo(
  1. {required Room room,
  2. required ParticipantInfo info}
)

Implementation

@internal
RemoteParticipant.fromInfo({
  required Room room,
  required lk_models.ParticipantInfo info,
}) : super(
        room: room,
        sid: info.sid,
        identity: info.identity,
        name: info.name,
      ) {
  updateFromInfo(info);
}