isPositiveTrend property

bool get isPositiveTrend

Check if trend is positive

Implementation

bool get isPositiveTrend => isValid && values.last > values.first;