asGradient property Null safety

Gradient asGradient

Resolve these Steps to its smooth Gradient counterpart by colors and stops duplication, considering softness.

Implementation

Gradient get asGradient;