isRoot property

bool isRoot

Returns true if this scope has no parent.

Implementation

bool get isRoot => _parent == null;