toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'messageCall',
if (extra != null) '@extra': extra,
'is_video': is_video,
'discard_reason': discard_reason,
'duration': duration
};
}