fromJson static method
Implementation
static GroupCallParticipantVideoInfo? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return GroupCallParticipantVideoInfo(
sourceGroups: List<GroupCallVideoSourceGroup>.from(((json['source_groups']
as List<dynamic>?) ??
<dynamic>[])
.map((item) =>
GroupCallVideoSourceGroup.fromJson(item as Map<String, dynamic>?))
.toList()),
endpointId: (json['endpoint_id'] as String?) ?? '',
isPaused: (json['is_paused'] as bool?) ?? false,
);
}