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