removeListener method

bool removeListener(
  1. ConnectivityListenCallback callback
)

移除 需要根据网络变化执行的方案

Implementation

bool removeListener(ConnectivityListenCallback callback) =>
    _listenerList.remove(callback);