strip static method

String strip(
  1. String text
)

Removes every escape sequence from text.

Implementation

static String strip(String text) => text.replaceAll(_ansiPattern, '');