toMax method

int toMax()

Implementation

int toMax() => reduce((value, element) => max(value, element));