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