toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'sendCallRating',
if (extra != null) '@extra': extra,
'call_id': call_id,
'rating': rating,
'comment': comment,
'problems': problems
};
}