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