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