depthOfInheritanceStatus property
String
get
depthOfInheritanceStatus
Returns the health status for depth of inheritance.
Implementation
String get depthOfInheritanceStatus {
if (depthOfInheritance <= 2) return 'good';
if (depthOfInheritance <= 4) return 'warning';
return 'critical';
}