owner property Null safety

SemanticsOwner? owner
override

The owner for this node (null if unattached).

The entire subtree that this node belongs to will have the same owner.

Implementation

@override
SemanticsOwner? get owner => super.owner as SemanticsOwner?;