key property

  1. @override
Key? key
final

Uniquely identifying local key for this aspect. This used by hashCode and ==. This allows InheritableAspect implementations to accept and hold closures in object instances and still have a unique object identity.

Same key can also be used to replace an aspect used by a widget.

Implementation

@override
final Key? key;