toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'editProxy',
if (extra != null) '@extra': extra,
'proxy_id': proxy_id,
'server': server,
'port': port,
'enable': enable,
'type': type
};
}