firstElementChild property

Element? get firstElementChild

Implementation

Element? get firstElementChild => children.isNotEmpty ? children[0] : null;