resolveLocalKey method

String resolveLocalKey(
  1. Parent parent
)

If localKey is null → use primaryKey of the Parent model

Implementation

String resolveLocalKey(Parent parent) {
  return localKey ?? parent.primaryKey;
}