onAnsi method

String onAnsi(
  1. int ansicode
)

Creates String with the background color specified by the ansi color escape code. https://en.wikipedia.org/wiki/ANSI_escape_code

Implementation

String onAnsi(int ansicode) => (_chalk.onAnsi(ansicode))(this);