maxInLane property

double get maxInLane

Returns the maximum lane value.

Implementation

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