parent property Null safety

Zone? parent

The parent zone of the this zone.

Is null if this is the root zone.

Zones are created by fork on an existing zone, or by runZoned which forks the current zone. The new zone's parent zone is the zone it was forked from.

Implementation

Zone? get parent;