hasNext property Null safety

bool hasNext

Implementation

bool get hasNext => this.isNotLast && this.isNotOnly;