backgroundIndex property
Returns the ANSI index for the background color.
Implementation
int get backgroundIndex => isBright ? index - 8 + 100 : index + 40;
Returns the ANSI index for the background color.
int get backgroundIndex => isBright ? index - 8 + 100 : index + 40;