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