lastChild property

  1. @override
T? lastChild

Return the last child of this node, or null if there are no children.

Implementation

@override
T? get lastChild => children.isEmpty ? null : children.last;