maximum property
T
get
maximum
Implementation
T get maximum {
final value = _.reduce((a, b) => b > a ? b : a);
if (T == int) return value.toInt() as T;
return value.toDouble() as T;
}
T get maximum {
final value = _.reduce((a, b) => b > a ? b : a);
if (T == int) return value.toInt() as T;
return value.toDouble() as T;
}