num max(num a, num b, [num? c]) { final max = math.max(a, b); return c != null ? math.max(max, c) : max; }