toJson method

Map<String, dynamic> toJson()

Returns this object in JSON format.

Implementation

Map<String, dynamic> toJson() => {
      'isAcyclic': isAcyclic,
      'firstCycle': firstCycle,
      'numNodes': numNodes,
      'numEdges': numEdges,
      'avgDegree': avgDegree,
      'orphans': orphans,
      'ccd': ccd,
      'acd': acd,
      'nccd': nccd,
      'totalSloc': totalSloc,
      'avgSloc': avgSloc
    };