goForward method

GpsCoordinates goForward(
  1. DriveOrientation orientation
)

Implementation

GpsCoordinates goForward(DriveOrientation orientation) => this + switch(orientation) {
  DriveOrientation.north => GpsUtils.north,
  DriveOrientation.south => GpsUtils.south,
  DriveOrientation.west => GpsUtils.west,
  DriveOrientation.east => GpsUtils.east,
};