setLocationCacheEnable method

dynamic setLocationCacheEnable (bool isLocationCacheEnable)

设置是否开启定位缓存机制,默认为开启

isLocationCacheEnable: true 开启 false 关闭

Implementation

static setLocationCacheEnable(bool isLocationCacheEnable) {
  _channel.invokeMethod("setLocationCacheEnable",
      {"isLocationCacheEnable": isLocationCacheEnable});
}