write method

void write(
  1. String message, {
  2. SimpleColor? foregroundColor,
  3. SimpleColor? backgroundColor,
})

Implementation

void write(
  String message, {
  SimpleColor? foregroundColor,
  SimpleColor? backgroundColor,
}) {
  _write(
    write: _stdout.write,
    object: message,
    foregroundColor: foregroundColor,
    backgroundColor: backgroundColor,
  );
}