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