toList method

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

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

Implementation

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