toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (corsPolicy != null) 'corsPolicy': corsPolicy!,
if (faultInjectionPolicy != null)
'faultInjectionPolicy': faultInjectionPolicy!,
if (maxStreamDuration != null) 'maxStreamDuration': maxStreamDuration!,
if (requestMirrorPolicy != null)
'requestMirrorPolicy': requestMirrorPolicy!,
if (retryPolicy != null) 'retryPolicy': retryPolicy!,
if (timeout != null) 'timeout': timeout!,
if (urlRewrite != null) 'urlRewrite': urlRewrite!,
if (weightedBackendServices != null)
'weightedBackendServices': weightedBackendServices!,
};