minimum property

T get minimum

Implementation

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