apply method

Colorize apply(
  1. Styles style, [
  2. String? text
])

Implementation

Colorize apply(Styles style, [String? text]) {
  if (text == null) {
    text = initial;
  }

  initial = _applyStyle(style, text);
  return this;
}