max method

num max(
  1. num a,
  2. num b, [
  3. num? c
])
inherited

Implementation

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