getKey method

dynamic getKey()
inherited

Implementation

dynamic getKey() {
  if (this is HasAttributes) {
    return (this as HasAttributes).getAttribute(primaryKey);
  }
  return id;
}