trend method

String trend(
  1. String points
)

Formats a sparkline trend semantics label.

Implementation

String trend(String points) => (_trend ?? _defaultTrend)(points);