ChatEventVideoChatParticipantVolumeLevelChanged.fromJson constructor

ChatEventVideoChatParticipantVolumeLevelChanged.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory ChatEventVideoChatParticipantVolumeLevelChanged.fromJson(Map<String, dynamic> json) => ChatEventVideoChatParticipantVolumeLevelChanged(
  participantId: MessageSender.fromJson(json['participant_id']),
  volumeLevel: json['volume_level'],
);