toIntRGBA method

List<int> toIntRGBA()

Implementation

List<int> toIntRGBA() => [
      for (var comp in [r, g, b, a]) (comp * 255).toInt()
    ];