name property

String? get name

Returns the optional name identifier for the state value.

This getter extracts the name component from the key tuple. Returns null if no name was specified when the state was registered, or the name string if one was provided to distinguish between multiple state values of the same type.

Implementation

String? get name => key.name;