bgAnsi method

String bgAnsi(
  1. int ansicode
)

Alternate name for onAnsi() (provided for legacy compatibility with JS Chalk)

Implementation

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