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