stateKey property

String? get stateKey

Full routing key: baseState when id is null, otherwise "${baseState}_$id".

Implementation

String? get stateKey {
  if (baseState == null) return null;
  return id == null ? baseState : "${baseState}_$id";
}