GroupCallParticipantVideoInfo.fromJson constructor
Parse from a json
Implementation
factory GroupCallParticipantVideoInfo.fromJson(Map<String, dynamic> json) =>
GroupCallParticipantVideoInfo(
sourceGroups: List<GroupCallVideoSourceGroup>.from(
(json['source_groups'] ?? [])
.map((item) => GroupCallVideoSourceGroup.fromJson(item))
.toList()),
endpointId: json['endpoint_id'],
isPaused: json['is_paused'],
);