compare method

  1. @override
int compare(
  1. P a,
  2. P b
)
override

Compare two P properties returned by the mapper.

Implementation

@override
int compare(P a, P b) => comparator(a, b);