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