apply method

String apply(
  1. String text
)

Applies defined style into the text.

Implementation

String apply(String text) {
  return Colorize._wrapAnsi(text, _selectionCode() + _colorCode());
}