unescapeValueKeyName function

String unescapeValueKeyName(
  1. String name
)

Unescape a table or column name.

Implementation

String unescapeValueKeyName(String name) {
  final codeUnits = name.codeUnits;
  if (_areCodeUnitsEscaped(codeUnits)) {
    return name.substring(1, name.length - 1);
  }
  return name;
}