core.Map<core.String, core.dynamic> toJson() => { if (border != null) 'border': border!, if (chartId != null) 'chartId': chartId!, if (position != null) 'position': position!, if (spec != null) 'spec': spec!, };