toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (destinations != null) 'destinations': destinations!,
if (faultInjectionPolicy != null)
'faultInjectionPolicy': faultInjectionPolicy!,
if (idleTimeout != null) 'idleTimeout': idleTimeout!,
if (retryPolicy != null) 'retryPolicy': retryPolicy!,
if (statefulSessionAffinity != null)
'statefulSessionAffinity': statefulSessionAffinity!,
if (timeout != null) 'timeout': timeout!,
};