attrKey method

String attrKey(
  1. dynamic key
)

Implementation

String attrKey(dynamic key) {
  if (key is Symbol) {
    var res = key.toString().split('"')[1].replaceFirst('_', '');
    return res;
  }
  return key.toString();
}