sort method Null safety

Tuple<num, num> sort(
  1. num other
)

Implementation

Tuple<num, num> sort(num other) {
  return (this > other) ? Tuple(other, this) : Tuple(this, other);
}