toJson method
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,
};
}