ElevationStatus$cast function
Implementation
ElevationStatus? ElevationStatus$cast(value) {
if (value == ElevationStatus.INVALID_REQUEST)
return ElevationStatus.INVALID_REQUEST;
if (value == ElevationStatus.OK) return ElevationStatus.OK;
if (value == ElevationStatus.OVER_QUERY_LIMIT)
return ElevationStatus.OVER_QUERY_LIMIT;
if (value == ElevationStatus.REQUEST_DENIED)
return ElevationStatus.REQUEST_DENIED;
if (value == ElevationStatus.UNKNOWN_ERROR)
return ElevationStatus.UNKNOWN_ERROR;
return null;
}