toJson method

Map<String, Object?> toJson()

Serializes this profile for reports.

Implementation

Map<String, Object?> toJson() => <String, Object?>{
      'node': node.toJson(),
      'metrics': metrics.toJson(),
      'health': health.toJson(),
    };