If this is a Steps-type Gradient, returns this.steppedStops. Otherwise the fallback retrun value is stops.
Gradient
this.steppedStops
stops
List<double>? get steppedStops => this is Steps ? (this as Steps).steppedStops : stops;