max method

num max(
  1. num other
)

Implementation

num max(num other) {
  return other > this ? other : this;
}