isNotLast property Null safety

bool isNotLast

Implementation

bool get isNotLast =>
    this != IterationPosition.last && this != IterationPosition.only;