minInt method
Implementation
int minInt() {
if (isEmpty) {
return 0;
}
if (length == 1) {
return first as int;
}
return fold(first as int, (prev, next) => math.min(prev, next as int));
}
int minInt() {
if (isEmpty) {
return 0;
}
if (length == 1) {
return first as int;
}
return fold(first as int, (prev, next) => math.min(prev, next as int));
}