toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'callProtocol',
if (extra != null) '@extra': extra,
'udp_p2p': udp_p2p,
'udp_reflector': udp_reflector,
'min_layer': min_layer,
'max_layer': max_layer,
'library_versions': library_versions
};
}