onGetWeatherSearchResult method Null safety

void onGetWeatherSearchResult(
  1. {required void callback(
    1. dynamic result,
    2. dynamic errorCode
    )}
)

天气检索异步回调结果

Implementation

void onGetWeatherSearchResult(
    {required void Function(
            BMFWeatherSearchResult result, BMFSearchErrorCode errorCode)
        callback}) {
  _weatherSearchDispatcher.onGetWeatherSearchCallback(callback);
}