key property

Key? key
finalinherited

Identity Key used by keyed reconciliation (Branch.updateChildren). Null means positional (unkeyed) identity.

Typed as Key (not a bare Object) so the reconciliation identity carries intent and type-safety: a ValueKey<String> cannot silently collide with an unrelated ValueKey<int>, and ObjectKey requests identity matching explicitly. There is deliberately no GlobalKey — see Key.

Implementation

final Key? key;