toIntRGB method

List<int> toIntRGB()

Implementation

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