toJson method

Map<String, dynamic> toJson()

Returns this object in JSON format.

Implementation

Map<String, dynamic> toJson() => {
      'rootDir': rootDir,
      'nodes': nodes,
      'subgraphs': subgraphs,
      'edges': edges,
      'metrics': metrics
    };