strip method Null safety

String strip(
  1. String target
)

Strip all ANSI SGR commands from the target string and return the 'stripped' result string.

Implementation

String strip(String target) {
  return AnsiUtils.stripAnsi(target);
}