AnsiColor constructor Null safety

const AnsiColor(
  1. int code,
  2. {bool bold = true}
)

Implementation

const AnsiColor(
  int code, {
  bool bold = true,
})  : _code = code,
      _bold = bold;