max property

T get max

Returns the maximum value in the list.

Example:

final maxValue = list.max;

Implementation

T get max => sortedDesc.first;