toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'unique_id': uniqueId.toString(),
'is_active': isActive,
'was_missed': wasMissed,
'is_video': isVideo,
'duration': duration,
'other_participant_ids': otherParticipantIds
.map((item) => item.toJson())
.toList(),
'@type': constructor,
};