DiscordColor constructor
- int value
Create a DiscordColor from a 24 bit encoded value.
Implementation
const DiscordColor(this.value) : assert(value >= 0 && value <= 0xffffff, 'value must be between 0 and ${0xffffff}');
Create a DiscordColor from a 24 bit encoded value.
const DiscordColor(this.value) : assert(value >= 0 && value <= 0xffffff, 'value must be between 0 and ${0xffffff}');