hasChildren property Null safety

bool hasChildren

Returns whether this layer has at least one child layer.

Implementation

bool get hasChildren => _firstChild != null;