GroupCallParticipant.fromMap constructor
GroupCallParticipant.fromMap(
- Map<String, dynamic> map
)
Implementation
GroupCallParticipant.fromMap(Map<String, dynamic> map) {
extra = map['@extra'];
client_id = map['@client_id'];
if (map['participant_id'] != null) {
participant_id = TdApiMap.fromMap(map['participant_id']) as MessageSender;
}
audio_source_id = map['audio_source_id'];
screen_sharing_audio_source_id = map['screen_sharing_audio_source_id'];
if (map['video_info'] != null) {
video_info = TdApiMap.fromMap(map['video_info']) as GroupCallParticipantVideoInfo;
}
if (map['screen_sharing_video_info'] != null) {
screen_sharing_video_info = TdApiMap.fromMap(map['screen_sharing_video_info']) as GroupCallParticipantVideoInfo;
}
bio = map['bio'];
is_current_user = map['is_current_user'];
is_speaking = map['is_speaking'];
is_hand_raised = map['is_hand_raised'];
can_be_muted_for_all_users = map['can_be_muted_for_all_users'];
can_be_unmuted_for_all_users = map['can_be_unmuted_for_all_users'];
can_be_muted_for_current_user = map['can_be_muted_for_current_user'];
can_be_unmuted_for_current_user = map['can_be_unmuted_for_current_user'];
is_muted_for_all_users = map['is_muted_for_all_users'];
is_muted_for_current_user = map['is_muted_for_current_user'];
can_unmute_self = map['can_unmute_self'];
volume_level = map['volume_level'];
order = map['order'];
}