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