clearStyle method
Removes all Ansi modifiers and returns the resulting string.
Implementation
String clearStyle() {
return isEmpty ? this : replaceAll(matchAnsi, '');
}
Removes all Ansi modifiers and returns the resulting string.
String clearStyle() {
return isEmpty ? this : replaceAll(matchAnsi, '');
}