toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '2a3dc7ac',
'\$name': 'GroupCallParticipant',
'flags': flags,
'muted': muted,
'left': left,
'canSelfUnmute': canSelfUnmute,
'justJoined': justJoined,
'versioned': versioned,
'min': min,
'mutedByYou': mutedByYou,
'volumeByAdmin': volumeByAdmin,
'self': self,
'videoJoined': videoJoined,
'peer': peer,
'date': date.toIso8601String(),
'activeDate': activeDate?.toIso8601String(),
'source': source,
'volume': volume,
'about': about,
'raiseHandRating': raiseHandRating,
'video': video,
'presentation': presentation,
'paidStarsTotal': paidStarsTotal,
};
// Finished toJson.
return returnValue;
}