toJson method

Map<String, dynamic> toJson()

Converts the domain health entity to a JSON-compatible map.

Implementation

Map<String, dynamic> toJson() {
  return {
    'domainName': domainName,
    'healthScore': healthScore,
    'commitsSinceLastTag': commitsSinceLastTag,
    'daysSinceLastTag': daysSinceLastTag,
    'warnings': warnings,
    'ownerCodes': ownerCodes,
  };
}