StringRemoveSurroundingExtension extension
- on
Methods
- 
  removeSurrounding({required String prefix, required String suffix}) → String 
- 
      Available on String, provided by the StringRemoveSurroundingExtension extension Removes from a String both the givenprefixandsuffixif and only if it starts with theprefixand ends with thesuffix. Otherwise returns this String unchanged.