toRgbaInt method

int toRgbaInt()

Returns the color as a 32-bit RGBA integer (alpha last).

Implementation

int toRgbaInt() =>
    ((_value & _rgbMask) << 8) | ((_value & _alphaMask) >> _alphaShift);