sequence method

  1. @override
String sequence({
  1. bool background = false,
})
override

Returns the TruColor sequence for the given color.

Implementation

@override
String sequence({bool background = false}) {
  return '${background ? _background : _foreground};2;$r;$g;$b';
}