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