toHexString method
Convert this DiscordColor to a hexadecimal string that can be parsed with DiscordColor.parseHexString.
Implementation
String toHexString() => '#${value.toRadixString(16).padLeft(6, '0')}'.toUpperCase();
Convert this DiscordColor to a hexadecimal string that can be parsed with DiscordColor.parseHexString.
String toHexString() => '#${value.toRadixString(16).padLeft(6, '0')}'.toUpperCase();