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