max static method

int max(
  1. int a,
  2. int b
)

Returns the larger of two int values.

Implementation

static int max(int a, int b) => a > b ? a : b;