toListWithAlpha method

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

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

Implementation

@override
List<num> toListWithAlpha() =>
    List<num>.from(<num>[lightness, a, b, alpha], growable: false);