isRoot property

bool get isRoot

Implementation

bool get isRoot => parent == null;