write static method
write method is used to print the output to the console.
Implementation
static CappConsole write(
dynamic obj, [
CappColors color = CappColors.none,
space = false,
]) {
return CappConsole(
"${space ? '\n\n' : ''}$obj${space ? '\n\n' : ''}", color)
.log();
}