isFirst property Null safety

bool isFirst

Implementation

bool get isFirst =>
    this == IterationPosition.first || this == IterationPosition.only;