toJson method
Implementation
Map<String, dynamic> toJson() => withoutNulls({
'mark': mark,
'tcpFastOpen': tcpFastOpen,
'tproxy': tproxy?.toJson(),
'acceptProxyProtocol': acceptProxyProtocol,
'domainStrategy': domainStrategy?.toJson(),
'dialerProxy': dialerProxy,
'tcpKeepAliveInterval': tcpKeepAliveInterval,
'tcpKeepAliveIdle': tcpKeepAliveIdle,
'tcpCongestion': tcpCongestion,
'tcpWindowClamp': tcpWindowClamp,
'tcpMaxSeg': tcpMaxSeg,
'penetrate': penetrate,
'tcpUserTimeout': tcpUserTimeout,
'v6only': v6only,
'interface': interfaceName,
'tcpMptcp': tcpMptcp,
'customSockopt': customSockopt?.map((item) => item.toJson()).toList(),
'addressPortStrategy': addressPortStrategy?.toJson(),
'happyEyeballs': happyEyeballs?.toJson(),
'trustedXForwardedFor': trustedXForwardedFor,
});