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