toInt method
Get the int32 representation of this color
Implementation
int toInt() =>
((((alpha * 255.0).round() & 0xff) << 24) |
(((red * 255.0).round() & 0xff) << 16) |
(((green * 255.0).round() & 0xff) << 8) |
(((blue * 255.0).round() & 0xff) << 0)) &
0xFFFFFFFF;