removeQuotes method

String removeQuotes(
  1. String value
)

Implementation

String removeQuotes(String value) {
  if (value.startsWith('"') && value.endsWith('"')) {
    return value.substring(1, value.length - 1);
  }
  return value;
}