toFactoredList method

List<double> toFactoredList()

Returns a fixed-length list containing the red, green, and blue values factored to be on 0 to 1 scale.

Implementation

List<double> toFactoredList() =>
    toPreciseList().map((rgbValue) => rgbValue / 255).toList(growable: false);