toJson method
Implementation
Map<String, dynamic> toJson() {
final httpEndpoint = this.httpEndpoint;
final httpPutResponseHopLimit = this.httpPutResponseHopLimit;
final httpTokens = this.httpTokens;
return {
if (httpEndpoint != null) 'HttpEndpoint': httpEndpoint.toValue(),
if (httpPutResponseHopLimit != null)
'HttpPutResponseHopLimit': httpPutResponseHopLimit,
if (httpTokens != null) 'HttpTokens': httpTokens.toValue(),
};
}