direction property
String
get
direction
Get trend direction as string.
Implementation
String get direction {
if (costChange > 0) return 'increasing';
if (costChange < 0) return 'decreasing';
return 'stable';
}