removeSurrounding method
Implementation
String removeSurrounding({required String prefix, required String suffix}) {
if (startsWith(prefix) && endsWith(suffix)) {
return substring(prefix.length, length - suffix.length);
} else {
return this;
}
}