style method

String style(
  1. Ansi16Code mode, {
  2. required dynamic str,
})

Implementation

String style(Ansi16Code mode, {required str}) {
  return _h.format(on: mode.on, off: mode.off)(str);
}