toValue method

int toValue()

Implementation

int toValue() {
  switch (this) {
    case BMKWeatherServerType.BMKWeatherServerTypeDefault: return 0;
    case BMKWeatherServerType.BMKLanguageServerTypeAbroad: return 1;
    default: return 0;
  }
}