removeRange: removes all characters in the range
String removeRange(int startIndex, int endIndex) => this?.replaceRange(startIndex, endIndex, "") ?? "";