setElevation method
Method to set the elevation in Meters above sea level.
@param elevation The elevation to set in Meters. An IllegalArgumentException will be thrown if the value is a negative.
Implementation
void setElevation(double elevation) {
if (elevation < 0) {
throw ArgumentError("Elevation cannot be negative");
}
_elevation = elevation;
}