parentKey property

String? get parentKey

get parent key

Implementation

String? get parentKey {
  ValueDef? parentDef = this;
  var key = parentDef.key;

  while (key == null && parentDef != null) {
    key = parentDef.key;
    parentDef = parentDef.parent;
  }
  return key;
}