toJson method

Map<String, Object?> toJson()

Serializes the graph summary.

Implementation

Map<String, Object?> toJson() => <String, Object?>{
      'maxDepth': maxDepth,
      'totalNodes': totalNodes,
      'directDependencyCount': directDependencyCount,
      'transitiveDependencyCount': transitiveDependencyCount,
      'centralNodes': centralNodes,
    };