@override Object toJson() => { if (treeDepth.isNotDefault) 'treeDepth': treeDepth, if (leafCount.isNotDefault) 'leafCount': leafCount, };