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