removeSurroundingQuotes method
Removes quotes (single or double) surrounding a value.
Implementation
String removeSurroundingQuotes(String val) {
if (!_surroundQuotes.hasMatch(val)) {
return removeCommentsFromLine(val, includeQuotes: true).trim();
}
return _surroundQuotes.firstMatch(val)!.group(2)!;
}