DiscordColor.fromInt constructor
DiscordColor.fromInt(
- int value
Construct color from int. It allows to create color from hex number and decimal number
final color = DiscordColor.fromInt(43563);
final color2 = DiscordColor.fromInt(0xff0044);
Implementation
DiscordColor.fromInt(int value): super(value);