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