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