toValue method
Implementation
int toValue() {
switch (this) {
case BMKWeatherDataType.BMKWeatherDataTypeNow: return 0;
case BMKWeatherDataType.BMKWeatherDataTypeForecasts: return 1;
case BMKWeatherDataType.BMKWeatherDataTypeForecastsForHour: return 2;
case BMKWeatherDataType.BMKWeatherDataTypeLifeIndex: return 3;
case BMKWeatherDataType.BMKWeatherDataTypeAlert: return 4;
case BMKWeatherDataType.BMKWeatherDataTypeAll: return 5;
default: return 0;
}
}