getBaseKeyWithId method

  1. @nonVirtual
String getBaseKeyWithId(
  1. X value, [
  2. String? inner
])

Like getBaseKey but prefixed with value's internalId, used for pointer-owning structs to prevent cross-instance key collisions.

Implementation

@nonVirtual
String getBaseKeyWithId(X value, [String? inner]) => '${value.$state.nextId}_${getBaseKey(value, inner)}';