hasNext property Null safety

bool hasNext

Implementation

bool get hasNext => peekLength() < maxLength;