toListWithAlpha method

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

Returns a fixed-length list containing the red, green, blue, and alpha values.

Implementation

@override
List<num> toListWithAlpha() =>
    List<num>.from(<num>[red, green, blue, alpha], growable: false);