toList method

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

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

Implementation

@override
List<double> toList() =>
    List<double>.from(<double>[lightness, chromaticityA, chromaticityB],
        growable: false);