toFactoredListWithAlpha method

List<double> toFactoredListWithAlpha()

Returns a fixed-length list containing the x, y, and z values factored to be on a 0 to 1 scale.

Implementation

List<double> toFactoredListWithAlpha() =>
    List<double>.from(<double>[x / 100, y / 100, z / 100, alpha / 255],
        growable: false);