comparator method

  1. @override
int comparator(
  1. BigInt a,
  2. BigInt b
)
override

Returns a Comparator that compares one element to another.

Implementation

@override
int comparator(BigInt a, BigInt b) => a.compareTo(b);