ChatEventVideoChatParticipantIsMutedToggled.fromJson constructor

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

Parse from a json

Implementation

factory ChatEventVideoChatParticipantIsMutedToggled.fromJson(
        Map<String, dynamic> json) =>
    ChatEventVideoChatParticipantIsMutedToggled(
      participantId: MessageSender.fromJson(json['participant_id']),
      isMuted: json['is_muted'],
    );