bold static method

List<int> bold(
  1. bool on
)

Implementation

static List<int> bold(bool on) {
  // ESC E n - Activar/desactivar énfasis (negrita)
  return [0x1B, 0x45, on ? 1 : 0];
}