participant method

Participant participant(
  1. Map participantDict
)

Implementation

Participant participant(Map participantDict) {
  MediaState mediaState = MediaState(participantDict[_kVideoEnabled], participantDict[_kAudioEnabled], participantDict[_kScreenEnabled]);
  Participant participant = Participant(participantDict[_kParticipantId], participantDict[_kParticipantName], participantDict[_kTextureId], mediaState);
  return participant;
}