toListWithAlpha method

  1. @override
List<num> toListWithAlpha()
override

Returns a fixed-length list containing the hue, saturation, perceivedBrightness, and alpha values, in that order.

Implementation

@override
List<num> toListWithAlpha() =>
    List<num>.from(<num>[hue, saturation, perceivedBrightness, alpha],
        growable: false);