removeHttpSpecialCharsFromStrings function

String removeHttpSpecialCharsFromStrings(
  1. String from
)

Implementation

String removeHttpSpecialCharsFromStrings(String from) {
  return from
      .replaceAll(RegExp(r'/'), '_')
      .replaceAll(RegExp(r':'), '_')
      .replaceAll(RegExp(r'%'), '_');
}