isTop property

bool get isTop

True if this is the last node in the list

Implementation

bool get isTop => next == null;