replaceName method

String replaceName(
  1. String path
)

Implementation

String replaceName(String path) {
  String result = path;
  itemMap.forEach((String key, RegexItem value) {
    result = result.replaceAll(value.from, value.to);
  });
  return result;
}