bnMax function

BigInt bnMax(
  1. List<BigInt> list
)

Implementation

BigInt bnMax(List<BigInt> list) {
  list.sort((a, b) => a.compareTo(b));
  return list.last;
}