toList method

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

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

Implementation

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