steppedStops property Null safety

List<double>? steppedStops

If this is a Steps-type Gradient, returns this.steppedStops. Otherwise the fallback retrun value is stops.

Implementation

List<double>? get steppedStops =>
    this is Steps ? (this as Steps).steppedStops : stops;