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