isFirst property

bool get isFirst

Determines if this element is the first one into the list

Implementation

bool get isFirst => list == null ? false : list!.first == this;