maxInLane property

int get maxInLane

Returns the maximum lane value.

Implementation

int get maxInLane {
  var max = x;
  if (y > max) max = y;
  if (z > max) max = z;
  if (w > max) max = w;
  return max;
}