isRoot property

bool get isRoot

Implementation

bool get isRoot => _parent == null;