clearKey method

String clearKey(
  1. String key
)

Implementation

String clearKey(String key) {
  return key.replaceAll(regex, '').trim();
}