compareByFieldNum<T> function

Comparator<T> compareByFieldNum<T>(
  1. num fieldValue(
    1. T t
    )
)

Implementation

Comparator<T> compareByFieldNum<T>(
  num Function(T t) fieldValue,
) =>
    compareByField(
      fieldValue,
    );