BMFWeatherSearchOption constructor

BMFWeatherSearchOption(
  1. {@required String districtID,
  2. BMFCoordinate location,
  3. BMFWeatherServerType serverType: BMFWeatherServerType.Default,
  4. BMFWeatherDataType dataType: BMFWeatherDataType.Now,
  5. BMFLanguageType languageType: BMFLanguageType.Chinese}
)

有参构造

Implementation

BMFWeatherSearchOption(
    {@required this.districtID,
    this.location,
    this.serverType: BMFWeatherServerType.Default,
    this.dataType: BMFWeatherDataType.Now,
    this.languageType: BMFLanguageType.Chinese});