GroupCallRecentSpeaker.fromJson constructor

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

Parse from a json

Implementation

factory GroupCallRecentSpeaker.fromJson(Map<String, dynamic> json) => GroupCallRecentSpeaker(
  participantId: MessageSender.fromJson(json['participant_id']),
  isSpeaking: json['is_speaking'],
);