DomainHealthEntity class
Represents the health status of a domain in the project. Stores metrics such as score, commit count, days since last tag, warnings, and owners.
Constructors
-
DomainHealthEntity({required String domainName, required double healthScore, required int commitsSinceLastTag, required int daysSinceLastTag, List<
String> warnings = const [], List<String> ownerCodes = const []}) - Creates a new DomainHealthEntity with the given properties.
Properties
- commitsSinceLastTag → int
-
final
- daysSinceLastTag → int
-
final
- domainName → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- healthScore → double
-
final
-
ownerCodes
→ List<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
warnings
→ List<
String> -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the domain health entity to a JSON-compatible map.
-
toString(
) → String -
Returns a string representation of the domain health for debugging and logging.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited