toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (requestHeaderModifier != null)
'requestHeaderModifier': requestHeaderModifier!,
if (responseHeaderModifier != null)
'responseHeaderModifier': responseHeaderModifier!,
if (serviceName != null) 'serviceName': serviceName!,
if (weight != null) 'weight': weight!,
};