FlutterQweather class

Properties

hashCode int
The hash code for this object.
no setterinherited
platformVersion Future<String>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

geoCityLookup(String location, {String range = 'world', int number = 10}) Future<GeoPoiLocationResp?>
inherited
geoPoiLookup(String location, PoiType type, {String city = '', int number = 10}) Future<GeoPoiLocationResp?>
inherited
geoPoiRangeLookup(String location, PoiType type, {int radius = 5, int number = 10}) Future<GeoPoiLocationResp?>
inherited
getAir5Day(String location) Future<AirDailyResp?>
inherited
getAirNow(String location) Future<AirNowResp?>
inherited
getGeoTopCity({String range = 'world', int number = 10}) Future<GeoPoiLocationResp?>
inherited
getHistoricalAir(String location, String date) Future<HistoricalHourlyAirRsp?>
date: 查询日期,日期格式为yyyyMMdd,例如 20200531
inherited
getHistoricalWeather(String location, String date) Future<HistoricalWeatherRsp?>
date: 查询日期,日期格式为yyyyMMdd,例如 20200531
inherited
getIndices1Day(String location, {Set<IndicesType>? indicesTypes}) Future<DailyIndicesResp?>
inherited
getIndices3Day(String location, {Set<IndicesType>? indicesTypes}) Future<DailyIndicesResp?>
inherited
getMoon(String location, String date) Future<MoonRsp?>
date: 查询日期,日期格式为yyyyMMdd,例如 20200531
inherited
getOceanCurrents(String location, String date) Future<DailyIndicesResp?>
date: 查询日期,日期格式为yyyyMMdd,例如 20200531
inherited
getOceanTide(String location, String date) Future<DailyIndicesResp?>
date: 查询日期,日期格式为yyyyMMdd,例如 20200531
inherited
getSolarElevationAngle({required String location, required String date, required String time, required String tz, required String alt}) Future<SolarElevationAngleRsp?>
date: 查询日期,日期格式为yyyyMMdd,例如 20200531 time: 查询时间,格式为HHmm,24时制,例如 1230 tz: 查询地区所在时区,例如0800 或 -0530 alt: 海拔高度,单位为米,例如 43
inherited
getStormForecast(String stormId) Future<ForecastRsp?>
inherited
getStormList(String year, Basin basin) Future<StormListRsp?>
支持查询本年度和上一年度的台风,year 例如:2020 2019
inherited
getStormTrack(String stormId) Future<StormTracRsp?>
inherited
getSun(String location, String date) Future<SunRsp?>
date: 查询日期,日期格式为yyyyMMdd,例如 20200531
inherited
getWarning(String location) Future<WarningRsp?>
inherited
getWarningList({String range = 'cn'}) Future<WarningListRsp?>
inherited
getWeatherDaily(String location, WeatherDailyForecast dailyForecast) Future<WeatherDailyResp?>
inherited
getWeatherHourly(String location, WeatherHourlyForecast hourlyForecast) Future<WeatherHourlyResp?>
inherited
getWeatherMinuteLy(String location) Future<WeatherMinutelyResp?>
inherited
getWeatherNow(String location) Future<WeatherNowResp?>
inherited
init(QweatherConfig config) Future<void>
初始化
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDebug([bool debug = true]) Future<void>
设置 Debug
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance FlutterQweather
getter/setter pair