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