toJson method
Serializes the graph summary.
Implementation
Map<String, Object?> toJson() => <String, Object?>{
'maxDepth': maxDepth,
'totalNodes': totalNodes,
'directDependencyCount': directDependencyCount,
'transitiveDependencyCount': transitiveDependencyCount,
'centralNodes': centralNodes,
};