toCMYKA method Null safety

List<num?> toCMYKA()

get CMYK with alpha

Implementation

List<num?> toCMYKA() {
  return [
    _cyan,
    _magenta,
    _yellow,
    _black,
    _color!.alpha,
  ];
}