isFirstChild property

bool get isFirstChild

Implementation

bool get isFirstChild => (parent == null) || (parent!.children.first == this);