linesOfCodeStatus property

String get linesOfCodeStatus

Returns the health status for lines of code.

Implementation

String get linesOfCodeStatus {
  if (linesOfCode <= 200) return 'good';
  if (linesOfCode <= 500) return 'warning';
  return 'critical';
}