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