isLast property

bool get isLast

Implementation

bool get isLast =>
    this == IterationPosition.last || this == IterationPosition.only;