removeAll method

String removeAll(
  1. String subString
)

remove: removes all occurrences of a substring

Implementation

String removeAll(String subString) => this?.replace(subString, "") ?? "";