hasNext property

bool get hasNext

Implementation

bool get hasNext => next != null && next!.isNotEmpty;