isEmpty property
Implementation
bool get isEmpty => switch (knownSize) {
-1 => iterator.hasNext,
0 => true,
_ => false,
};
bool get isEmpty => switch (knownSize) {
-1 => iterator.hasNext,
0 => true,
_ => false,
};