isRoot property Null safety

bool isRoot

Returns true if this scope has no parent.

Implementation

bool get isRoot => _parent == null;