toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final leafCount = this.leafCount;
  final treeDepth = this.treeDepth;
  return {'leafCount': ?leafCount, 'treeDepth': ?treeDepth};
}